ping_host
Sends ICMP packets to a remote host, returning latency, packet loss, and response times to verify reachability.
Instructions
Sends ICMP packets and returns latency, packet loss, and response times. host is required and validated; count defaults to 4, timeout to 10s. Read-only but network-bound, blocking up to timeout seconds. Fatal only for an invalid host; a failed ping returns partial results in the errors field. Use for reachability checks; resolve_dns to separate DNS from connectivity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | hostname or IP address to ping | |
| count | No | number of packets (default: 4) | |
| timeout | No | timeout in seconds (default: 10) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| errors | No | ||
| avg_latency_ms | Yes | ||
| max_latency_ms | Yes | ||
| min_latency_ms | Yes | ||
| packets_received | Yes | ||
| packet_loss_percent | Yes | ||
| packets_transmitted | Yes |