Ping a set of endpoints and report reachability/latency
check_healthRun one-shot health checks against API endpoints to confirm they respond, returning status codes and latency. Use before demos or in CI to detect non-responsive endpoints.
Instructions
One-shot health check: calls each given endpoint (or, if none given, every parameter-free GET in the loaded spec) and reports whether it responded, its status code, and latency. Useful for a quick 'is the API up' pass, e.g. before a demo or as part of CI.
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 |
|---|---|---|---|
| auth | No | Auth preset applied to the request. Examples: {"type":"bearer","token":"..."}, {"type":"apiKey","in":"header","name":"X-API-Key","value":"..."}, {"type":"basic","username":"...","password":"..."} | |
| baseUrl | No | ||
| endpoints | No | Explicit list to check. Defaults to every parameter-free GET endpoint in the loaded spec. | |
| timeoutMs | No | Per-endpoint timeout in ms. Default 5000. |