TOOL API

doc.insert_comment

Inserts a comment on a specified range in a Tencent Docs Word document. Call resolve_document_structure first to get the document structure and determine the correct position indices; range_begin may equal range_end for a point-anchored comment. Inserting a comment changes the text length, so re-fetch positions before any follow-up edits. 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

版本参数