TOOL API

doc.insert_paragraph

Inserts a paragraph break at the given index and applies paragraph-level styling to the text before that break; it writes no text itself. Call insert_text first to add the text, then use this to style its paragraph, and call resolve_document_structure beforehand to find the correct index. When numbering_type is "1" or "2", numbering_lvl is required. For a heading or numbered paragraph with text in one step use insert_paragraph_with_text; for plain text use insert_text; for bulk rich text use insert_html_content or insert_markdown; to restyle an existing paragraph use modify_paragraph. 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
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

插入的文档位置索引

indent_count

缩进数量

level

标题级别

numbering_lvl

编号级别

numbering_type

编号类别

version_info

版本参数