Check an HTTP endpoint
check_endpointVerify a service is responding by requesting a URL, comparing the status code to the expected value, and measuring the response time.
Instructions
Request a URL and report whether it returned the expected status code, plus how long it took. Use it to confirm a service is actually answering, not just running.
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_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full http or https URL | |
| timeoutMs | No | Give up after this many milliseconds (default 5000) | |
| expectStatus | No | Status code that counts as healthy (default 200) |