Loading...
Loading...
Tencent Docs, provides comprehensive operation capabilities for Tencent Docs. Use this skill when users need to operate Tencent Docs, including: (1) Create various online documents (SmartCanvas, Word, Excel, Slide, Mind Map, Flowchart) (2) Query and search document spaces and files (3) Manage space nodes and folder structures (4) Read document content (5) Edit SmartSheet (6) Edit SmartCanvas.
npx skill4agent add zrong/skills tencent-docsreferences/api_references.mdreferences/smartsheet_references.mdsmartsheet.*references/smartcanvas_references.mdsmartcanvas.*{
"mcpServers": {
"tencent-docs": {
"url": "https://docs.qq.com/openapi/mcp",
"headers": {
"Authorization": "Your Token Value"
}
}
}
}⚠️ Important: The key of the Header must be, do not use other names (such asAuthorization,token,auth, etc.), otherwise authentication will fail.X-Token
export TENCENT_DOCS_TOKEN="Your Token Value"bash setup.shsetup.sh will automatically register the Tencent Docs MCP service to mcporter and verify whether the configuration is successful. If setup is not executed, all tool calls will fail to find theservice.tencent-docs
mcporter list | grep tencent-docs⚠️ If the user has not configured the Token, please guide the user to visit the above link to obtain the Token, otherwise all tool calls will return authentication failure.
tencent-docsmcp: tencent-docs
tool: <Tool Name>
arguments: { ... }⚠️ The following tool list is for reference only, the actual available tools are subject to the results returned by calling theinterface.tools/listGet the latest tool list:mcp: tencent-docs method: tools/list
| Tool Name | MCP Call Format | Function Description |
|---|---|---|
| create_smartcanvas_by_markdown | | ⭐ Create SmartCanvas (Recommended) |
| create_excel_by_markdown | | Create Excel Spreadsheet |
| create_slide_by_markdown | | Create Slide |
| create_mind_by_markdown | | Create Mind Map |
| create_flowchart_by_mermaid | | Create Flowchart |
| create_word_by_markdown | | Create Word Document |
| query_space_node | | Query Space Node |
| create_space_node | | Create Space Node |
| delete_space_node | | Delete Space Node |
| search_space_file | | Search Space File |
| get_content | | Get Document Content |
| batch_update_sheet_range | | Batch Update Spreadsheet |
| smartcanvas.* | See Section 4 below | SmartCanvas Element Operations (Page/Text/Heading/To-Do Item), see |
| smartsheet.* | See Section 5 below | SmartSheet Operations (Worksheet/View/Field/Record), see |
references/api_references.mdHighly Recommended: SmartCanvas
- New Document: Prioritize using
to create SmartCanvas, for the following reasons:create_smartcanvas_by_markdown
- 📝 More beautiful layout with automatically optimized arrangement
- 🎨 Supports richer formats (headings, paragraphs, lists, tables, code blocks, quotes, images, etc.)
- 📱 Consistent display effect across platforms
- Edit Existing Document: Use
series tools to perform CRUD operations on existing SmartCanvas, seesmartcanvas.*for detailsreferences/smartcanvas_references.md
What type of content do you need to create?
│
├─ New general document content (reports, notes, articles, etc.)
│ └─ ✅ Use create_smartcanvas_by_markdown (Recommended)
│
├─ Edit/append content to existing SmartCanvas
│ └─ ✅ Use smartcanvas.* tools (see `references/smartcanvas_references.md` for details)
│
├─ Data spreadsheet (requires calculation, filtering, statistics)
│ └─ ✅ Use create_excel_by_markdown
│
├─ Presentation (requires page-by-page display, projection presentation)
│ └─ ✅ Use create_slide_by_markdown
│
├─ Hierarchical knowledge organization (knowledge graph, outline)
│ └─ ✅ Use create_mind_by_markdown
│
├─ Process/architecture display (flowchart, sequence diagram)
│ └─ ✅ Use create_flowchart_by_mermaid
│
├─ Structured data management (multi-view, field management, kanban)
│ └─ ✅ Use smartsheet.* tools (see `references/smartsheet_references.md` for details)
│
└─ Traditional Word format export requirement
└─ Use create_word_by_markdown (only when explicitly needed)| Type | doc_type | Recommendation | Description |
|---|---|---|---|
| SmartCanvas | smartcanvas | ⭐⭐⭐ Recommended | Beautiful layout, supports rich components |
| Excel | excel | ⭐⭐⭐ | Specialized for data spreadsheets |
| Slide | slide | ⭐⭐⭐ | Specialized for presentations |
| Mind Map | mind | ⭐⭐⭐ | Specialized for knowledge graphs |
| Flowchart | flowchart | ⭐⭐⭐ | Specialized for process display |
| Word | word | ⭐⭐ | Traditional format with average layout |
| Form | form | ⭐⭐ | Form collection |
| SmartSheet | smartsheet | ⭐⭐⭐ | Advanced structured spreadsheet, supports multi-view and field management |
| Board | board | ⭐⭐ | Online whiteboard |
📖 For complete call examples, parameter descriptions and return value explanations of all tools, please refer toreferences/api_references.md⚠️ The tool list in this skill is only for usage guidance, the actual available tools are subject to the results returned by calling theinterface. If a tool does not exist or parameters do not match, please executetools/listfirst to get the latest tool definition.tools/list
parent_id📖 For call examples, please refer to:- create_smartcanvas_by_markdownreferences/api_references.md
parent_id📖 For call examples, please refer to:- create_excel_by_markdownreferences/api_references.md
######-parent_id📖 For call examples, please refer to:- create_slide_by_markdownreferences/api_references.md
parent_id📖 For call examples, please refer to:- create_mind_by_markdownreferences/api_references.md
parent_id📖 For call examples, please refer to:- create_flowchart_by_mermaidreferences/api_references.md
parent_id📖 For call examples, please refer to:- create_word_by_markdownreferences/api_references.md
📖 For call examples, please refer to:- query_space_nodereferences/api_references.md
wiki_folderwiki_tdoclink📖 For call examples, please refer to:- create_space_nodereferences/api_references.md
⚠️ Note: Only document-type nodes (word, excel, slide, etc.) can be searched, folders cannot be searched; if you need to find folders, please useto traverse the node tree.query_space_node
📖 For call examples, please refer to:- search_space_filereferences/api_references.md
currentall📖 For call examples, please refer to:- delete_space_nodereferences/api_references.md
file_id📖 For call examples, please refer to:- get_contentreferences/api_references.md
📖 For call examples, please refer to:- batch_update_sheet_rangereferences/api_references.md
TextTaskHeadingPageparent_idPageHeading📖 For complete description, please refer to:- smartcanvas.create_smartcanvas_elementreferences/smartcanvas_references.md
📖 For complete description, please refer to:- smartcanvas.get_element_inforeferences/smartcanvas_references.md
cursoris_over=true📖 For complete description, please refer to:- smartcanvas.get_page_inforeferences/smartcanvas_references.md
📖 For complete description, please refer to:- smartcanvas.get_top_level_pagesreferences/smartcanvas_references.md
📖 For complete description, please refer to:- smartcanvas.update_elementreferences/smartcanvas_references.md
⚠️ When deleting a Page element, all its child elements will also be deleted, please use with caution.
📖 For complete description, please refer to:- smartcanvas.delete_elementreferences/smartcanvas_references.md
📖 For complete description, please refer to:- smartcanvas.append_insert_smartcanvas_by_markdownreferences/smartcanvas_references.md
smartcanvas.*📖 For complete description of all tools (usage scenarios, element type definitions, enumerations, parameter examples), please refer to:references/smartcanvas_references.mdIncludes: element addition, element query, page content query, top-level page query, element modification, element deletion, Markdown append, as well as heading level enumerations, color enumerations, rich text format descriptions, typical workflow examples.
smartsheet.*📖 For complete description of all tools (usage scenarios, field definitions, enumerations, parameter examples), please refer to:references/smartsheet_references.mdIncludes: worksheet operations, view operations, field operations, record operations, as well as field type enumerations, field value format references, typical workflow examples.
1. Prioritize calling create_smartcanvas_by_markdown to create SmartCanvas
2. Get file_id and url from the returned result1. Call smartcanvas.get_top_level_pages to get the document page structure
2. Call smartcanvas.* tools to perform CRUD operations as needed:
- Append content: smartcanvas.append_insert_smartcanvas_by_markdown (Markdown method)
- Add elements: smartcanvas.create_smartcanvas_element
- Query elements: smartcanvas.get_element_info / smartcanvas.get_page_info
- Modify elements: smartcanvas.update_element
- Delete elements: smartcanvas.delete_elementquery_space_nodecreate_space_nodesearch_space_filenode_idfile_idget_content1. Get worksheet list → smartsheet.list_tables (get sheet_id)
2. Add fields (columns) → smartsheet.add_fields (task name, priority, deadline, etc.)
3. Batch write data → smartsheet.add_records
4. (Optional) Create kanban view → smartsheet.add_view (view_type=2)1. Get worksheet → smartsheet.list_tables
2. Query records → smartsheet.list_records (get record_id)
3. Update records → smartsheet.update_records (pass in record_id and new field values)📖 For more SmartSheet workflow examples, please refer to:- Typical Workflow Examplesreferences/smartsheet_references.md
create_smartcanvas_by_markdownsmartcanvas.*parent_idcreate_*_by_markdowncreate_flowchart_by_mermaidparent_iddelete_space_noderemove_type=currentallhas_nextnode_idfile_idcreate_flowchart_by_mermaidTextHeadingTaskparent_idsmartcanvas.get_top_level_pagessmartcanvas.get_page_infocursoris_over=truefile_idsheet_idsmartsheet.list_tablesupdate_fieldsreferences/smartsheet_references.md