HTTP check
http_checkCheck a public http(s) URL with one GET request and report status code, reason phrase, and response time without downloading the body or following redirects.
Instructions
Make a single HTTP GET request to an http(s) URL and report the status code, reason phrase and response time in milliseconds; the body is not downloaded. Redirects are NOT followed: 3xx responses return redirect_location so you can decide whether to check it next. 4xx/5xx statuses are normal results. timeout_seconds is 1-10 (default 5). Only public Internet destinations are allowed by default: targets that resolve to private, loopback, link-local or other non-public addresses are refused unless the server operator sets NETDIAG_ALLOW_PRIVATE=1.
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": "http_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute http:// or https:// URL, e.g. 'https://example.com/'. Credentials in the URL are not allowed. | |
| timeout_seconds | No | Maximum time to wait for the response (1-10 seconds). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL that was requested. | |
| reason | Yes | HTTP reason phrase. | |
| elapsed_ms | Yes | Time until response headers were received, in ms. | |
| status_code | Yes | HTTP status code returned by the server. | |
| redirect_location | Yes | Location header for 3xx responses (redirects are not followed). |