SERVICE & TOOLS

Tencent Docs

Official Tencent Docs remote MCP — docs, sheets, smart canvas and space management (OAuth required)

productivityOAuth

227 available tools

aicanvas.bind_smartsheet

Binds the current Page to a smart sheet document; a Page can only be bound to one smart sheet, and it must be bound before it can read or write that sheet's data. If both tencent-docs (personal) and t…

aicanvas.read_page_source

Reads the entry HTML source of an existing Page by line range, similar to reading a local file; use it to analyze or modify a Page that was auto-imported from a user-uploaded HTML file. To continue re…

aicanvas.reimport_page

Replaces an existing Page's entire content with a newly packaged .aipage artifact, for second-round edits. First call manage.pre_import to get the upload_url and file_key, PUT the repackaged .aipage f…

check_skill_update

Checks whether a newer version of the Tencent Docs skill is available, given the current version.

create_flowchart_by_mermaid

Creates an online flowchart in Tencent Docs from Mermaid text, generating the diagram structure and connections. The Mermaid content must be UTF-8 and contain no Chinese characters; special characters…

create_mind_by_markdown

Creates an online mind map in Tencent Docs from UTF-8 Markdown, using heading levels and nested lists to build the hierarchy. Use the parameter names exactly as "title" and "markdown", not content, te…

create_slide

Generates or edits a slide deck (PPT) with AI, which handles both content and layout. Pass the user's input verbatim as description without adding, rewriting, expanding, or polishing anything, and onl…

create_smartcanvas_by_mdx

Creates a rich, formatted online smart canvas document in Tencent Docs; use it as the default tool for creating documents. Before generating MDX content, read the mdx_references spec and self-check th…

create_space

Creates a Tencent Docs space and returns its space ID. If both tencent-docs (personal) and tencent-docs-oa (enterprise) are connected, use AskUserQuestion to let the user pick the target account befor…

create_space_node

Creates a new node in a Tencent Docs space tree, such as a folder, online document, or link, optionally under a specified parent and at the start or end of its child list. If both tencent-docs (person…

delete_space_node

Deletes a node from a Tencent Docs space, keeping its child nodes by reattaching them to the parent. If both tencent-docs (personal) and tencent-docs-oa (enterprise) are connected, use AskUserQuestion…

doc.accept_all_revisions

Accepts all tracked changes in a Tencent Docs Word (DOC) document. If both tencent-docs (personal) and tencent-docs-oa (enterprise) are connected, use AskUserQuestion to let the user choose the target…

doc.ai_format_pure_text

Creates a formatted, styled Tencent Docs document from arbitrary text. If both tencent-docs (personal) and tencent-docs-oa (enterprise) are connected, use AskUserQuestion to let the user choose the ta…

doc.compare_documents

Compares the content and formatting of two Tencent Docs DOC documents and returns a paragraph-level diff list covering additions, deletions, content changes and format changes. The current document is…

doc.convert_to_html

将整篇 Word 文档(DOC)导出为语义化 HTML,用于结构化读取文档内容与样式(如提取源文档格式特征、参考样式生成新文档)。返回完整 HTML 文档:head 含全局样式,body 为语义化标签 + 内联样式,格式保真:标题输出 h1-h6、表格输出 table/tr/td(含 colspan/rowspan 合并、单元格底纹 background-color、边框)、字体输出 font-f…

doc.copy_format

Copies paragraph and text formatting from a source range to one or more target ranges in a Tencent Docs document, for quickly making multiple paragraphs or text runs match. Call resolve_document_struc…

doc.create_with_markdown

Creates a new Word document in Tencent Docs directly from Markdown content, combining document creation and content insertion in one step instead of calling manage.create_file followed by insert_markd…

doc.find

Finds all occurrences of a given text in a Tencent Docs word processing document and returns each match with its surrounding context. Use it to locate text before making precise changes with replace_t…

doc.find_and_replace

Finds every occurrence of a text string in a Tencent Docs word processing document and replaces it with new text, replacing all matches. If both tencent-docs (personal) and tencent-docs-oa (enterprise…

doc.get_comments

Retrieves all comments from a Word document in Tencent Docs, sorted by range_begin ascending. Use it to verify the results of insert_comment or to enumerate existing comments before making comment-rel…

doc.get_images

Retrieves information about all images in a Tencent Docs Word document, including each image's position and its URL or attachment ID.

doc.get_last_operable_pos

Returns the index of the last editable position in a Word document's body along with the preceding content, so you can locate where to insert when appending to the end of the document.

doc.get_outline

Fetches the outline structure of a Tencent Docs word processing document as a heading hierarchy tree, including the editable start and end positions of each heading and body section. Call this before …

doc.get_paragraph_property

Reads the paragraph properties at a given character index in a Tencent Docs DOC document, including style name, outline level, heading level, numbering, alignment, indentation, spacing and line spacin…

doc.get_table_info

Retrieves full details of the table containing the given index in a Tencent Docs document, including row heights, column widths, merged cells, and each cell's text and properties; use it before table-…

doc.get_text_property

Reads the effective text properties at a given character index in a DOC document (bold, italic, underline, strikethrough, small caps, color, background_color, highlight, font size in pt, font, super/s…

doc.insert_attachment

Inserts an attachment into a Word document at the specified position. This is the follow-up to pre_insert_attachment: first call pre_insert_attachment to get upload_url and object_key, upload the file…

doc.insert_border

Inserts a horizontal divider in a Tencent Docs document by applying a bottom border to a paragraph. Call resolve_document_structure first to get the correct insertion index, and pass the end_index of …

doc.insert_code_block

Inserts a native code block into a Tencent Docs document at the given position, with an optional language tag for syntax highlighting. Pass the raw code directly without markdown fences; common leadin…

doc.insert_cols

Inserts multiple columns into a table in a Tencent Docs document, using idx to locate the table via any cell's position within it. All insertions are relative to the original column numbers, and the e…

doc.insert_comment

Inserts a comment on a specified range in a Tencent Docs Word document. Call resolve_document_structure first to get the document structure and determine the correct position indices; range_begin may …

doc.insert_footer

Sets the footer text of a Tencent Docs document, replacing any existing footer content in the target section. It handles one section per call (given by section_index), so call it multiple times to set…

doc.insert_footnote

Inserts a footnote or endnote into a Tencent Docs document at a given position. Call resolve_document_structure first to find the correct insertion index, and pass idx as the position of the target te…

doc.insert_header

Sets the header text of a Tencent Docs document, overwriting any existing header content in the target section. It handles one section per call (given by section_index), so call it once per section yo…

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 r…

doc.insert_image

Inserts an image at a specified position in a Tencent Docs Word document. Before using it, call resolve_document_structure to get the document structure and determine the correct insertion index; if b…

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. Ca…

doc.insert_normal_link

Inserts a plain hyperlink at a specific position in a Tencent Docs Word document, with a URL and optional display text. Call resolve_document_structure first to get the document structure and determin…

doc.insert_numbering

Inserts a numbered or bulleted list into a Tencent Docs Word document (DOC). If both tencent-docs (personal) and tencent-docs-oa (enterprise) are connected, use AskUserQuestion to let the user pick th…

doc.insert_page_break

Inserts a page break at a specified position in a Tencent Docs Word document. Call resolve_document_structure first to get the document structure and determine the correct insertion index; if both ten…

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…

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 indentat…

doc.insert_rows

Inserts multiple rows into a table in a Tencent Docs document, using idx to locate the table via any cell's position within it. If both tencent-docs (personal) and tencent-docs-oa (enterprise) are con…

doc.insert_table

Inserts a table with the given number of rows and columns at a specified position in a Tencent Docs Word document. Call resolve_document_structure first to get the document structure and determine the…

doc.insert_task

Inserts one or more tasks (to-do items) at a specified position in a Word document, with optional task status and content text. Call resolve_document_structure first to get the document structure and …

doc.insert_text

Inserts text at a specific position in a Tencent Docs Word document. Call resolve_document_structure first to get the document structure and determine the correct insertion index; to add a line break,…

doc.list_recent_ai_edits

Lists a Tencent Docs document's recent AI edit records made through MCP write tools, newest first, each with its version, tool name, time and arguments. Always call this before undoing an AI edit: mat…

doc.modify_paragraph

Modifies properties of existing paragraphs in a Tencent Docs document, such as alignment, line spacing, paragraph spacing, style, indentation, block quotes and numbering. Use insert_tasks_with_content…

doc.pre_insert_attachment

Prepares an attachment insertion in a Tencent Docs Word document and returns the upload URL and object_key. Upload the file to the returned upload_url with an HTTP PUT, then call insert_attachment to …

doc.replace_bookmarks

Replaces the content inside bookmark ranges in a Tencent Docs Word document, supporting both text and image replacements. If both tencent-docs (personal) and tencent-docs-oa (enterprise) are connected…