工具 API
doc. insert_ comment
在 Word 文档指定范围内插入批注(评论),插入后文本长度会变化,后续操作需重新获取位置。允许 range_begin == range_end(点锚批注,批注附着在单一位置上、不选中任何范围)。使用前请先调用 resolve_document_structure 获取文档结构以确定正确的位置索引(DOC) 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_comment
- 服务提供方
- 腾讯文档
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
file_id在线文档DOC的文档唯一标识符(与file_url二选一)
file_url腾讯文档的URL链接(推荐),与file_id二选一
range必填批注关联的文档范围
ref_id评论ID(可选)
text必填批注内容
version_info版本参数