@vrs-soft/wecom-aibot-mcp 3.2.2 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/channel-server.js +8 -0
- package/package.json +1 -1
package/dist/channel-server.js
CHANGED
|
@@ -657,6 +657,14 @@ function registerChannelTools(server) {
|
|
|
657
657
|
cc_id: z.string().describe('自己的 CC 标识(必须 = 文档的 to_cc)'),
|
|
658
658
|
doc_id: z.string().describe('文档 ID'),
|
|
659
659
|
}, async (params) => forwardToHttpMcp('get_document_info', params));
|
|
660
|
+
server.tool('delete_shared_file', '删除共享文件。仅 owner 可删。', {
|
|
661
|
+
cc_id: z.string().describe('自己的 CC 标识(必须 = owner)'),
|
|
662
|
+
file_id: z.string().describe('共享文件 ID'),
|
|
663
|
+
}, async (params) => forwardToHttpMcp('delete_shared_file', params));
|
|
664
|
+
server.tool('delete_document', '删除点对点文档。fromCc 或 toCc 任一方可删。', {
|
|
665
|
+
cc_id: z.string().describe('自己的 CC 标识(必须 = fromCc 或 toCc)'),
|
|
666
|
+
doc_id: z.string().describe('文档 ID'),
|
|
667
|
+
}, async (params) => forwardToHttpMcp('delete_document', params));
|
|
660
668
|
server.tool('get_shared_file_info', '查询单个共享文件的元数据(不返回 content)。共享池无权限校验,任何 CC 都可查。', {
|
|
661
669
|
cc_id: z.string().describe('自己的 CC 标识'),
|
|
662
670
|
file_id: z.string().describe('共享文件 ID'),
|