TOOL API
doc. insert_ markdown
Inserts Markdown content at a specified position in a Tencent Docs Word document, with the engine converting it to rich text automatically; prefer base64_markdown to avoid special-character issues. Call resolve_document_structure first to get the document structure and determine the correct insertion index, and use insert_paragraph plus insert_text instead if you need precise control over heading levels and list styles. 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.
Call information
- Tool slug
- tencent-docs.doc.insert_markdown
- Provider
- Tencent Docs
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
base64_markdownbase64 编码的 Markdown 内容,与 markdown 二选一;两者同时传入时 markdown 优先,仅当 markdown 为空时使用本字段
file_id在线文档DOC的文档唯一标识符(与file_url二选一)
file_url腾讯文档的URL链接(推荐),与file_id二选一
idxrequired插入位置索引
markdownMarkdown格式内容,与base64_markdown二选一
version_info版本参数