get_all_pods
Retrieve all pods from a specified Cisco collection to manage and access pod information for deployment and configuration tasks.
Instructions
Get all pods from a specific collection. Works with any collection name like ciscolivepods, coelabpods, testpods, etc.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | Yes | Collection name (e.g., ciscolivepods, coelabpods, testpods) |
Implementation Reference
- src/podsClient.js:82-85 (handler)Core handler function that executes the get_all_pods tool logic by making an authenticated GET request to the Pods API to retrieve all pods from the specified collection.async getAllPods(collection) { const url = `${this.baseUrl}/api/v2/pods/${collection}`; return this.makeRequest(url, { method: 'GET' }); }
- src/index.js:233-242 (handler)MCP CallToolRequestSchema handler case for stdio transport that invokes podsClient.getAllPods and returns the result as formatted JSON text content.case 'get_all_pods': { const result = await podsClient.getAllPods(args.collection); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], };
- src/server-http.js:239-243 (handler)MCP CallToolRequestSchema handler case for HTTP transport that invokes podsClient.getAllPods and returns the result as formatted JSON text content.case 'get_all_pods': { const result = await podsClient.getAllPods(args.collection); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }], };
- src/index.js:55-66 (schema)Tool schema definition including name, description, and input schema requiring 'collection' parameter (defined in ListToolsRequestSchema handler).name: 'get_all_pods', description: 'Get all pods from a specific collection. Works with any collection name like ciscolivepods, coelabpods, testpods, etc.', inputSchema: { type: 'object', properties: { collection: { type: 'string', description: 'Collection name (e.g., ciscolivepods, coelabpods, testpods)', }, }, required: ['collection'], },
- src/server-http.js:136-144 (schema)Tool schema definition including name, description, and input schema requiring 'collection' parameter (defined in ListToolsRequestSchema handler).name: 'get_all_pods', description: 'Get all pods from a specific collection. Works with any collection name like ciscolivepods, coelabpods, testpods, etc.', inputSchema: { type: 'object', properties: { collection: { type: 'string', description: 'Collection name (e.g., ciscolivepods, coelabpods)' }, }, required: ['collection'], },