test_connectivity
Check network connectivity to a remote host and port, with configurable timeout and automatic blocking of private IPs and cloud metadata endpoints.
Instructions
[Diagnostics] Test network connectivity to host and port
Example usage:
{
"host": "google.com",
"port": 443,
"timeout": 5000
}Security: Blocks connections to private IPs, localhost, and cloud metadata endpoints.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Hostname or IP address to test | |
| port | No | Port number to test (default: 80) | |
| timeout | No | Connection timeout in milliseconds (default: 5000, max: 10000) |