check_port
Check whether a single TCP port on a host accepts connections to diagnose network reachability; opens and closes one connection without sending data.
Instructions
Check whether ONE TCP port on ONE host accepts connections (e.g. 443 for a website). Opens one normal connection and closes it; sends no data. Not a port scanner: limited to a few different ports per host every 10 minutes.
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": "check_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| port | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||