capacities_get_space_info
Retrieve detailed information about a specific Capacities space, including its structures and collections, by providing the space's UUID. Ideal for integrating with knowledge management systems.
Instructions
Get detailed information about a specific Capacities space including structures and collections
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spaceId | Yes | The UUID of the space to get information for |
Implementation Reference
- src/tools/getSpaceInfo.ts:12-23 (handler)Handler function that executes the tool logic by making an API request to /space-info endpoint with the spaceId parameter and returns formatted JSON data.execute: async (args: { spaceId: string }) => { try { const response = await makeApiRequest( `/space-info?spaceid=${args.spaceId}`, ); const data = await response.json(); return JSON.stringify(data, null, 2); } catch (error) { throw new Error( `Failed to get space info: ${error instanceof Error ? error.message : String(error)}`, ); }
- src/tools/getSpaceInfo.ts:26-31 (schema)Zod schema defining the input parameters for the tool: spaceId as a required UUID string.parameters: z.object({ spaceId: z .string() .uuid() .describe("The UUID of the space to get information for"), }),
- src/server.ts:25-25 (registration)Registers the capacities_get_space_info tool (via getSpaceInfoTool) with the FastMCP server.server.addTool(getSpaceInfoTool);