net_diag
Diagnose host reachability by resolving DNS, testing TCP connection, and verifying HTTP(S) status.
Instructions
Full reachability diagnosis for any host: DNS resolution, TCP connect test, then an HTTP(S) status check.
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": "net_diag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Hostname or IP address | |
| path | No | URL path for the HTTP check (default /) | |
| port | No | TCP port to test (default 443) |