studios_list
List all configured studios and identify the current default studio in the Pickaxe platform for managing AI agents and operations.
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(), constructs a result object with studios list, default studio, and count, then returns it as 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 (registration)Registration of the 'studios_list' tool in the tools array, including name, description, and empty input schema (no parameters required).{ name: "studios_list", description: "List all configured Pickaxe studios and the current default.", inputSchema: { type: "object", properties: {}, }, },
- src/index.ts:112-116 (schema)Input schema for 'studios_list' tool: an empty object, indicating no input parameters are required.inputSchema: { type: "object", properties: {}, }, },
- src/index.ts:16-25 (helper)Helper function that scans environment variables prefixed with 'PICKAXE_STUDIO_' to build and return the list of configured studio names. 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; }