studios_list
List all configured Pickaxe studios and identify the current default studio for managing AI agents, knowledge bases, and analytics.
Instructions
List all configured Pickaxe studios and the current default.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:464-472 (handler)Handler function for the 'studios_list' tool. Retrieves configured studios using getConfiguredStudios(), determines default, and returns formatted JSON.case "studios_list": { const studios = getConfiguredStudios(); const result = { studios, default: DEFAULT_STUDIO || (studios.length === 1 ? studios[0] : null), count: studios.length, }; return JSON.stringify(result, null, 2); }
- src/index.ts:109-116 (schema)Tool schema definition for 'studios_list', including name, description, and empty input schema. Part of the tools list registered for ListToolsRequest.{ name: "studios_list", description: "List all configured Pickaxe studios and the current default.", inputSchema: { type: "object", properties: {}, }, },
- src/index.ts:16-25 (helper)Helper function getConfiguredStudios() that scans environment variables for PICKAXE_STUDIO_* keys to list available studios. Used by the studios_list handler.function getConfiguredStudios(): string[] { const studios: string[] = []; for (const key of Object.keys(process.env)) { if (key.startsWith("PICKAXE_STUDIO_")) { const studioName = key.replace("PICKAXE_STUDIO_", ""); studios.push(studioName); } } return studios; }
- src/index.ts:616-618 (registration)Registration of all tools list handler, which returns the tools array containing 'studios_list' definition.server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools }; });