list_volumes
Retrieve all storage volumes from VergeOS virtualization platforms to manage storage resources and monitor capacity across clusters.
Instructions
List all storage volumes
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_volumes"
}
}Input 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 });