winops_sys_test_port
Test TCP connectivity to a host and port, returning a JSON result that indicates reachability. Use this to verify network access or troubleshoot connection issues.
Instructions
Test TCP connectivity to a host:port.
Return Format
{"success": true, "host": str, "port": int, "reachable": bool}Examples
test_port(host="8.8.8.8", port=53)
test_port(host="localhost", port=10800)Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Hostname or IP to connect to. | |
| port | Yes | TCP port to test. | |
| timeout_seconds | No | Connection timeout. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||