get_cluster_status
Check the overall health and operational state of your VergeOS virtualization cluster to monitor performance and identify issues.
Instructions
Get the overall cluster status
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": "get_cluster_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.js:181-183 (handler)Core handler function in VergeOSAPI class that executes the tool logic by making an HTTP request to the /api/v4/cluster_status endpoint.
async getClusterStatus() { return this.request("/api/v4/cluster_status"); } - src/index.js:475-481 (registration)Tool registration in the TOOLS array, including name, description, and input schema (empty object since no params). Used by ListToolsRequestHandler.
name: "get_cluster_status", description: "Get the overall cluster status", inputSchema: { type: "object", properties: {}, }, }, - src/index.js:593-595 (handler)Dispatch case in the main CallToolRequestHandler that invokes the api.getClusterStatus() when the tool is called.
case "get_cluster_status": result = await api.getClusterStatus(); break; - src/index.js:477-480 (schema)Input schema definition for the tool: an empty object since no input parameters are required.
inputSchema: { type: "object", properties: {}, },