port_check
Check if a network port is open on a host using TCP or UDP protocol.
Instructions
Check if a network port is open on a host.
Parameters:
host — Hostname or IP address.
port — Port number (1-65535).
protocol — 'tcp' (default) or 'udp'.
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": "port_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| port | Yes | ||
| protocol | No | tcp |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |