list_volumes
Retrieve all storage volumes from VergeOS virtualization platforms to manage storage resources and monitor capacity across clusters.
Instructions
List all storage volumes
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.js:190-192 (handler)Core handler function in VergeOSAPI class that implements the list_volumes tool by calling the VergeOS API endpoint for volumes.async listVolumes() { return this.request("/api/v4/volumes?fields=most"); }
- src/mcp-http-server.js:488-488 (handler)Handler method in the HTTP MCP server implementation that fetches storage volumes via API request.async listVolumes() { return this.request("/api/v4/volumes?fields=most"); }
- local-proxy/index-direct.js:270-270 (handler)Direct API handler for list_volumes in the local-proxy direct connection mode.async function listVolumes() { return apiRequest("/api/v4/volumes?fields=most"); }
- src/index.js:493-499 (registration)Tool registration in the TOOLS array including schema, name, and description for the MCP server.name: "list_volumes", description: "List all storage volumes", inputSchema: { type: "object", properties: {}, }, },
- src/mcp-http-server.js:641-642 (registration)Switch case registration in executeTool function that maps tool call to the handler.case "list_volumes": return api.listVolumes(); case "get_logs": return api.getLogs({ limit: args?.limit || 50, level: args?.level, object_type: args?.object_type });