check_health
Check vLLM server health via API liveness probe, with optional deep test firing a real chat completion to confirm text generation. Returns status, latency, and error details.
Instructions
Two-stage health probe for the local vLLM server, mirroring check-vllm.cmd. deep=False (default): GET /v1/models liveness check only. deep=True: additionally fires one minimal real /v1/chat/completions call to confirm the server actually generates text, not just reports a model loaded (rate-limited -- this consumes real GPU inference cycles on shared infra). Returns {ok, status: up|degraded|down, tier, model_id, latency_ms, completion_s, error}.
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": "check_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deep | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||