工具 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 积分
调用信息
- 工具标识
- tencent-docs.doc.insert_header
- 服务提供方
- 腾讯文档
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
file_id在线文档DOC的文档唯一标识符(与file_url二选一)
file_url腾讯文档的URL链接(推荐),与file_id二选一
header_type页眉类型:default/first/even
section_index节索引(0-based)
text必填页眉文本内容
version_info版本参数