TOOL API
doc. insert_ html_ content
Inserts HTML rich text at a given index in a Tencent Docs Word document, converting tags and inline styles into paragraphs, headings, lists, tables, links, and bold/italic/underline formatting. Call resolve_document_structure first to find the correct insertion index (or get_last_operable_pos for the end of the document); idx must fall at a real paragraph start (after a \r), not inside a Field. 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_html_content
- Provider
- Tencent Docs
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
file_id在线文档DOC的文档唯一标识符(与file_url二选一)
file_url腾讯文档的URL链接(推荐),与file_id二选一
html_textrequiredHTML内容
idxrequired插入位置索引
version_info版本参数