TOOL API
doc. insert_ paragraph_ with_ text
Inserts a text paragraph into a Tencent Docs document in one atomic step: adds the text at the given index, inserts the paragraph break after it, and applies the heading level, numbering, and indentation. Prefer this over calling insert_text and insert_paragraph separately, since it avoids index drift between the two steps. Call resolve_document_structure first to find the correct insertion index; 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_paragraph_with_text
- Provider
- Tencent Docs
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
file_id在线文档DOC的文档唯一标识符(与file_url二选一)
file_url腾讯文档的URL链接(推荐),与file_id二选一
idxrequired插入位置索引,-1 表示在文档开头插入(即在第一段之前)
indent_count编号前缩进空格数
level标题级别
numbering_lvl编号级别
textrequired段落文本内容
type编号类别
version_info版本参数