check_service_health
Check a service health endpoint via HTTP and report its status and latency, with configurable timeout and expected status code.
Instructions
Make an HTTP request to a service health endpoint and report status and latency
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "check_service_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to check (e.g. http://localhost:3000/health) | |
| timeout_ms | No | Request timeout in milliseconds | |
| expected_status | No | Expected HTTP status code |