TOOL API

doc.insert_header

Sets the header text of a Tencent Docs document, overwriting any existing header content in the target section. It handles one section per call (given by section_index), so call it once per section you want to update; the first insert creates a separate header/footer substory for that section and breaks its "link to previous" relationship. 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_header
Provider
Tencent Docs
Average response
0 ms
Calls in 7 days
0

Input parameters

file_id

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

file_url

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

header_type

页眉类型:default/first/even

section_index

节索引(0-based)

textrequired

页眉文本内容

version_info

版本参数