TOOL API

doc.insert_footnote

Inserts a footnote or endnote into a Tencent Docs document at a given position. Call resolve_document_structure first to find the correct insertion index, and pass idx as the position of the target text's last character (the paragraph's end_index - 1, just before the ¶ separator) so the reference mark lands at the end of the text rather than mid-sentence. If both tencent-docs (personal) and tencent-docs-oa (enterprise) are connected, use AskUserQuestion to let the user pick the target account before invoking this tool.

productivityOAuth1 credits

Call information

Tool slug
tencent-docs.doc.insert_footnote
Provider
Tencent Docs
Average response
0 ms
Calls in 7 days
0

Input parameters

contentrequired

脚注/尾注文本内容

file_id

在线文档DOC的文档唯一标识符(与file_url二选一)

file_url

腾讯文档的URL链接(推荐),与file_id二选一

idxrequired

插入位置索引

type

类型:0=脚注,1=尾注

version_info

版本参数