Ping Host
pingProbes a public host and reports min/avg/max round-trip time, jitter and packet loss. ICMP is used where the environment permits raw sockets; otherwise a TCP handshake to the given port is timed instead. The response says which method produced the numbers, because the two are not interchangeable. Private, loopback and link-local addresses are refused. Costs 2 credits per call.
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": {
"host": "<host>"
},
"name": "ping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Hostname or IP address. A full URL is accepted and its host is used. | |
| port | No | TCP port used when ICMP is unavailable. Defaults to 443. | |
| count | No | How many probes to send. Defaults to 4. | |
| timeoutMs | No | Per-probe timeout in milliseconds. Defaults to 2000. |