get_uptime
Uptime/health probe for any public URL: sends a HEAD request (auto GET fallback when the server refuses HEAD), follows redirects with per-hop safety checks, and returns up/down, HTTP status, latency in ms, redirect chain, final URL, and key response headers. Deterministic, no page download — a monitoring probe agents can call on a schedule. ($0.002 per call, paid via x402)
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": "get_uptime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL to check, e.g. https://example.com |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| up | No | ||
| url | No | ||
| error | No | Present when up=false: timeout, dns, tls, connection refused… | |
| method | No | ||
| status | No | ||
| headers | No | ||
| final_url | No | ||
| redirects | No | ||
| checked_at | No | ||
| latency_ms | No |