check_ports
Checks TCP connectivity to specified or common ports on a device, reporting open, closed, or filtered status to diagnose network and firewall access.
Instructions
TCP-connect check for ports on a device (default: a common set - ssh, http(s), smb, rdp, vnc, winrm, databases...). Reports open / closed / filtered.
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": {
"device": "<device>"
},
"name": "check_ports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ports | No | ||
| device | Yes | ||
| timeout_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |