{ "version": 1, "source": { "kind": "explicit", "name": "dws-tool-metadata/doc", "repository": "DingTalk-Real-AI/dingtalk-workspace-cli", "channel": "open-source", "reviewed": true }, "tools": { "doc.add_permission": { "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.copy_document": { "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.create_comment": { "effect": "write", "risk": "medium", "confirmation": "not_required", "idempotency": "unknown", "interface_ref": { "product_id": "doc-comment", "rpc_name": "create_comment" }, "interface_mode": "mcp", "availability": "available", "reviewed": true, "parameters": { "mentioned-open-conversation-id": { "required": false, "interface_type": "array" } }, "review_reason": "The reviewed handler normalizes repeated or comma-separated group conversation IDs into a stable de-duplicated array while preserving existing user mentions.", "cli_path": "doc comment create", "runtime_gate": "none" }, "doc.create_document": { "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.create_file": { "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.create_folder": { "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.create_inline_comment": { "interface_ref": { "product_id": "doc-comment", "rpc_name": "create_inline_comment" }, "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.delete_comment": { "effect": "write", "risk": "medium", "confirmation": "user_required", "idempotency": "unknown", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed unpinned remote adapter: this executable CLI wrapper calls a remote helper that is absent from the pinned MCP metadata snapshot; no single pinned semantically equivalent interface_ref can represent the command.", "reviewed": true, "runtime_gate": "confirm_dangerous" }, "doc.delete_document": { "effect": "destructive", "risk": "high", "confirmation": "user_required", "interface_mode": "mcp", "availability": "available", "reviewed": true, "runtime_gate": "confirm_delete" }, "doc.delete_document_block": { "effect": "destructive", "risk": "high", "confirmation": "user_required", "interface_mode": "mcp", "availability": "available", "reviewed": true, "runtime_gate": "confirm_delete" }, "doc.download_doc_attachment": { "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.download_file": { "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.get_document_content": { "effect": "read", "risk": "low", "confirmation": "not_required", "idempotency": "idempotent", "interface_ref": { "product_id": "doc", "rpc_name": "get_document_content" }, "interface_mode": "mcp", "availability": "available", "reviewed": true, "parameters": { "content-format": { "property": "format", "required": false }, "scope": { "required": false }, "tags": { "required": false, "required_when": "--scope=tags" }, "max-depth": { "required": false, "interface_type": "integer" }, "start-block-id": { "required": false, "required_when": "--scope=range or --scope=section" }, "end-block-id": { "required": false } }, "review_reason": "The reviewed handler preserves full Markdown/JSONML reads and adds validated outline, range, section, and tag-scoped JSONML fragment reads with optional file output.", "cli_path": "doc read", "runtime_gate": "none" }, "doc.get_document_info": { "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.import_get": { "effect": "write", "risk": "medium", "confirmation": "not_required", "idempotency": "unknown", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed unpinned remote adapter: this executable CLI wrapper calls a remote helper that is absent from the pinned MCP metadata snapshot; no single pinned semantically equivalent interface_ref can represent the command.", "reviewed": true, "review_reason": "migrated to reviewed metadata block" }, "doc.insert_document_block": { "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.list_comments": { "interface_ref": { "product_id": "doc-comment", "rpc_name": "list_comments" }, "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.list_document_blocks": { "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.list_nodes": { "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.list_permission": { "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.media_insert": { "effect": "write", "risk": "medium", "interface_mode": "composite", "availability": "available", "interface_reason": "命令包含多个 RPC、条件分派或本地 HTTP/文件步骤,不能绑定为单一 interface_ref", "reviewed": true }, "doc.move_document": { "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.query_export_job": { "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.remove_permission": { "effect": "write", "risk": "medium", "confirmation": "not_required", "interface_mode": "mcp", "availability": "available", "reviewed": true, "runtime_gate": "none" }, "doc.rename_document": { "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.reply_comment": { "effect": "write", "risk": "medium", "confirmation": "not_required", "idempotency": "unknown", "interface_ref": { "product_id": "doc-comment", "rpc_name": "reply_comment" }, "interface_mode": "mcp", "availability": "available", "reviewed": true, "parameters": { "mentioned-open-conversation-id": { "required": false, "interface_type": "array" } }, "review_reason": "The reviewed handler normalizes group conversation IDs into a stable de-duplicated array and rejects group mentions for emoji replies, which the remote operation does not support.", "cli_path": "doc comment reply", "runtime_gate": "none" }, "doc.search_documents": { "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.template_apply": { "effect": "write", "risk": "medium", "confirmation": "not_required", "idempotency": "unknown", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed unpinned remote adapter: this executable CLI wrapper calls a remote helper that is absent from the pinned MCP metadata snapshot; no single pinned semantically equivalent interface_ref can represent the command.", "reviewed": true, "review_reason": "migrated to reviewed metadata block" }, "doc.template_list": { "effect": "read", "risk": "low", "confirmation": "not_required", "idempotency": "idempotent", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed unpinned remote adapter: this executable CLI wrapper calls a remote helper that is absent from the pinned MCP metadata snapshot; no single pinned semantically equivalent interface_ref can represent the command.", "reviewed": true, "review_reason": "migrated to reviewed metadata block" }, "doc.template_search": { "effect": "read", "risk": "low", "confirmation": "not_required", "idempotency": "idempotent", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed unpinned remote adapter: this executable CLI wrapper calls a remote helper that is absent from the pinned MCP metadata snapshot; no single pinned semantically equivalent interface_ref can represent the command.", "reviewed": true, "review_reason": "migrated to reviewed metadata block" }, "doc.update_comment": { "effect": "write", "risk": "medium", "confirmation": "not_required", "idempotency": "unknown", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed unpinned remote adapter: this executable CLI wrapper calls a remote helper that is absent from the pinned MCP metadata snapshot; no single pinned semantically equivalent interface_ref can represent the command.", "reviewed": true, "parameters": { "mention": { "interface_type": "array" }, "mentioned-open-conversation-id": { "property": "mentionedOpenConversationIds", "required": false, "interface_type": "array" } }, "review_reason": "Preserve the reviewed user-mention conversion and normalize repeated or comma-separated group conversation IDs into mentionedOpenConversationIds.", "cli_path": "doc comment update", "runtime_gate": "none" }, "doc.update_document": { "effect": "write", "risk": "medium", "confirmation": "not_required", "interface_mode": "mcp", "availability": "available", "reviewed": true, "runtime_gate": "none" }, "doc.update_document_block": { "interface_mode": "mcp", "availability": "available", "reviewed": true }, "doc.update_permission": { "effect": "write", "risk": "medium", "confirmation": "not_required", "interface_mode": "mcp", "availability": "available", "reviewed": true, "runtime_gate": "none" }, "doc.upload": { "effect": "write", "risk": "medium", "interface_mode": "composite", "availability": "available", "interface_reason": "命令包含多个 RPC、条件分派或本地 HTTP/文件步骤,不能绑定为单一 interface_ref", "reviewed": true }, "doc.version_list": { "effect": "read", "risk": "low", "confirmation": "not_required", "idempotency": "idempotent", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed unpinned remote adapter: this executable CLI wrapper calls a remote helper that is absent from the pinned MCP metadata snapshot; no single pinned semantically equivalent interface_ref can represent the command.", "reviewed": true, "review_reason": "migrated to reviewed metadata block" }, "doc.version_revert": { "effect": "write", "risk": "medium", "confirmation": "user_required", "idempotency": "unknown", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed unpinned remote adapter: this executable CLI wrapper calls a remote helper that is absent from the pinned MCP metadata snapshot; no single pinned semantically equivalent interface_ref can represent the command.", "reviewed": true, "runtime_gate": "confirm_dangerous" }, "doc.version_save": { "effect": "write", "risk": "medium", "confirmation": "not_required", "idempotency": "unknown", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed unpinned remote adapter: this executable CLI wrapper calls a remote helper that is absent from the pinned MCP metadata snapshot; no single pinned semantically equivalent interface_ref can represent the command.", "reviewed": true, "review_reason": "migrated to reviewed metadata block" }, "doc.shortcut_search": { "effect": "read", "risk": "low", "confirmation": "not_required", "idempotency": "idempotent", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", "reviewed": true, "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", "cli_path": "doc +search", "runtime_gate": "none" }, "doc.shortcut_list": { "effect": "read", "risk": "low", "confirmation": "not_required", "idempotency": "idempotent", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", "reviewed": true, "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", "cli_path": "doc +list", "runtime_gate": "none" }, "doc.shortcut_copy": { "effect": "write", "risk": "medium", "confirmation": "user_required", "idempotency": "unknown", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", "reviewed": true, "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", "cli_path": "doc +copy", "runtime_gate": "typed_yes" }, "doc.shortcut_move": { "effect": "write", "risk": "medium", "confirmation": "user_required", "idempotency": "unknown", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", "reviewed": true, "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", "cli_path": "doc +move", "runtime_gate": "typed_yes" }, "doc.shortcut_comment_list": { "effect": "read", "risk": "low", "confirmation": "not_required", "idempotency": "idempotent", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", "reviewed": true, "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", "cli_path": "doc +comment-list", "runtime_gate": "none" }, "doc.shortcut_comment_create": { "effect": "write", "risk": "medium", "confirmation": "user_required", "idempotency": "unknown", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", "reviewed": true, "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", "cli_path": "doc +comment-create", "runtime_gate": "typed_yes" }, "doc.shortcut_comment_reply": { "effect": "write", "risk": "medium", "confirmation": "user_required", "idempotency": "unknown", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", "reviewed": true, "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", "cli_path": "doc +comment-reply", "runtime_gate": "typed_yes" }, "doc.shortcut_export_submit": { "effect": "read", "risk": "low", "confirmation": "not_required", "idempotency": "idempotent", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", "reviewed": true, "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", "cli_path": "doc +export-submit", "runtime_gate": "none" }, "doc.shortcut_export_get": { "effect": "read", "risk": "low", "confirmation": "not_required", "idempotency": "idempotent", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", "reviewed": true, "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", "cli_path": "doc +export-get", "runtime_gate": "none" }, "doc.shortcut_version_save": { "effect": "write", "risk": "medium", "confirmation": "user_required", "idempotency": "unknown", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", "reviewed": true, "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", "cli_path": "doc +version-save", "runtime_gate": "typed_yes" }, "doc.shortcut_version_list": { "effect": "read", "risk": "low", "confirmation": "not_required", "idempotency": "idempotent", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", "reviewed": true, "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", "cli_path": "doc +version-list", "runtime_gate": "none" }, "doc.shortcut_version_revert": { "effect": "destructive", "risk": "high", "confirmation": "user_required", "idempotency": "unknown", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", "reviewed": true, "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", "cli_path": "doc +version-revert", "runtime_gate": "typed_yes" }, "doc.shortcut_template_list": { "effect": "read", "risk": "low", "confirmation": "not_required", "idempotency": "idempotent", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", "reviewed": true, "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", "cli_path": "doc +template-list", "runtime_gate": "none" }, "doc.shortcut_template_search": { "effect": "read", "risk": "low", "confirmation": "not_required", "idempotency": "idempotent", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", "reviewed": true, "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", "cli_path": "doc +template-search", "runtime_gate": "none" }, "doc.shortcut_doc_append": { "effect": "write", "risk": "medium", "confirmation": "user_required", "idempotency": "unknown", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", "reviewed": true, "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", "cli_path": "doc +doc-append", "runtime_gate": "typed_yes" }, "doc.shortcut_find_doc": { "effect": "read", "risk": "low", "confirmation": "not_required", "idempotency": "idempotent", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", "reviewed": true, "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", "cli_path": "doc +find-doc", "runtime_gate": "none" }, "doc.shortcut_share_doc": { "effect": "write", "risk": "medium", "confirmation": "user_required", "idempotency": "unknown", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", "reviewed": true, "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", "cli_path": "doc +share-doc", "runtime_gate": "typed_yes" }, "doc.style_cover_set": { "effect": "write", "risk": "low", "confirmation": "not_required", "idempotency": "idempotent", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed unpinned remote adapter: this executable CLI wrapper calls a remote helper that is absent from the pinned MCP metadata snapshot; no single pinned semantically equivalent interface_ref can represent the command.", "reviewed": true, "runtime_gate": "none" }, "doc.style_cover_clear": { "effect": "write", "risk": "low", "confirmation": "not_required", "idempotency": "idempotent", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed unpinned remote adapter: this executable CLI wrapper calls a remote helper that is absent from the pinned MCP metadata snapshot; no single pinned semantically equivalent interface_ref can represent the command.", "reviewed": true, "runtime_gate": "none" }, "doc.style_background_set": { "effect": "write", "risk": "low", "confirmation": "not_required", "idempotency": "idempotent", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed unpinned remote adapter: this executable CLI wrapper calls a remote helper that is absent from the pinned MCP metadata snapshot; no single pinned semantically equivalent interface_ref can represent the command.", "reviewed": true, "runtime_gate": "none" }, "doc.style_background_clear": { "effect": "write", "risk": "low", "confirmation": "not_required", "idempotency": "idempotent", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed unpinned remote adapter: this executable CLI wrapper calls a remote helper that is absent from the pinned MCP metadata snapshot; no single pinned semantically equivalent interface_ref can represent the command.", "reviewed": true, "runtime_gate": "none" }, "doc.get_document_style": { "effect": "read", "risk": "low", "confirmation": "not_required", "idempotency": "idempotent", "interface_mode": "composite", "availability": "available", "interface_reason": "Reviewed unpinned remote adapter: this executable CLI wrapper calls a remote helper that is absent from the pinned MCP metadata snapshot; no single pinned semantically equivalent interface_ref can represent the command.", "reviewed": true, "runtime_gate": "none" } } }