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)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>",
"port": "<port>"
},
"name": "winops_sys_test_port"
}
}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 | |||