跳到主要内容

Tools

The DocSpace MCP server implements the Tools concept from the MCP specification.

Toolsets

A toolset is a DocSpace MCP server extension to the standard MCP Tools concept. Toolsets provide logical grouping of related tools to organize DocSpace functionality into manageable categories.

#Toolset NameToolset Description
1filesOperations for working with files.
2foldersOperations for working with folders.
3peopleOperations for working with users.
4roomsOperations for working with rooms.

Regular Tools

Regular tools are standard MCP Tools. Each tool corresponds to a specific DocSpace operation.

Files Toolset

#Tool NameTool Description
1copy_batch_itemsCopy to a folder.
2delete_fileDelete a file.
3download_file_as_textDownload a file as text.
4get_file_infoGet file information.
5move_batch_itemsMove to a folder.
6update_fileUpdate a file.
7upload_fileUpload a file.
备注

Supported file formats for uploading: txt, md.

Folders Toolset

#Tool NameTool Description
8create_folderCreate a folder.
9delete_folderDelete a folder.
10get_folder_contentGet content of a folder.
11get_folder_infoGet folder information.
12get_my_folderGet the 'My Documents' folder.
13rename_folderRename a folder.

People Toolset

#Tool NameTool Description
14get_all_peopleGet all people.

Rooms Toolset

#Tool NameTool Description
15archive_roomArchive a room.
16create_roomCreate a room.
17get_room_access_levelsGet a list of available room invitation access levels.
18get_room_infoGet room information.
19get_room_security_infoGet a list of users with their access levels to a room.
20get_room_typesGet a list of available room types.
21get_rooms_folderGet the 'Rooms' folder.
22set_room_securityInvite or remove users from a room.
23update_roomUpdate a room.

Meta Tools

Meta tools are a DocSpace MCP server extension to the standard MCP Tools concept. They provide a dynamic interface for tool discovery and execution, allowing AI models to interact with tools without requiring all tools to be loaded simultaneously.

When enabled, regular tools are wrapped into meta tools. Meta tools work in conjunction with the same toolset and tool configuration options as regular tools, providing the same level of control over available functionality.

#Meta Tool NameMeta Tool Description
1call_toolThis is a meta tool for calling a tool. The list of available tools can be obtained using the list_tools meta tool. The input schema can be obtained using the get_tool_input_schema meta tool.
2get_tool_input_schemaThis is a meta tool for getting an input schema for a specific tool. The list of available tools can be obtained using the list_tools meta tool.
3get_tool_output_schemaThis is a meta tool for getting an output schema for a specific tool. The list of available tools can be obtained using the list_tools meta tool.
4list_toolsThis is a meta tool for listing available tools of a specific toolset. The list of available toolsets can be obtained using the list_toolsets meta tool.
5list_toolsetsThis is a meta tool for listing available toolsets. Toolset is a set of available tools.

Resolving Tools

The tools resolution process follows a sequence that starts with toolsets, adds explicitly enabled tools, and removes explicitly disabled tools. For the full flowcharts and worked examples, see Tools resolution.