TOOL API

doc.insert_header

设置页眉文本内容(DOC)。覆盖式写入:先清空已有页眉内容,再写入新文本。本工具一次只处理一个 section(由 section_index 指定);如需对多个 section 都写入页眉,请按需多次调用本工具。首次插入时会为目标 section 独立创建页眉页脚 substory,打破该 section 与前一节"链接到上一节"的关系 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

版本参数