TOOL API
doc. insert_ paragraph_ with_ text
一步插入「带文本的段落」(DOC)。原子完成「在 idx 处插入 text → 在 idx+len(text) 处插入段落分隔符 → 应用 level/type/numbering_lvl/indent_count」。推荐首选此接口而非「insert_text + insert_paragraph」两步调用,避免两步之间的位置漂移。使用前请先调用 resolve_document_structure 获取文档结构以确定正确的插入位置索引 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版本参数