工具 API
doc. insert_ footer
设置页脚文本内容(DOC)。覆盖式写入:先清空已有页脚内容,再写入新文本。本工具一次只处理一个 section(由 section_index 指定);如需对多个 section 都写入页脚,请按需多次调用本工具。首次插入时会为目标 section 独立创建页眉页脚 substory,打破该 section 与前一节链接到上一节的关系。⚠️ 重要:本工具与 doc_set_page_number 互斥。调用本工具会清除已有的页码(PAGE 字段)。 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_footer
- 服务提供方
- 腾讯文档
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
file_id在线文档DOC的文档唯一标识符(与file_url二选一)
file_url腾讯文档的URL链接(推荐),与file_id二选一
footer_type页脚类型:default/first/even
section_index节索引(0-based)
text必填页脚文本内容
version_info版本参数