TOOL 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 credits

Call information

Tool slug
tencent-docs.doc.insert_comment
Provider
Tencent Docs
Average response
0 ms
Calls in 7 days
0

Input parameters

file_id

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

file_url

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

rangerequired

批注关联的文档范围

ref_id

评论ID(可选)

textrequired

批注内容

version_info

版本参数