Can Bind Tcp
can_bind_tcpAttempt to bind a TCP port on a specified host to verify availability before starting a service. Use it to check whether a port is free or already in use.
Instructions
实际尝试 bind TCP 端口。
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": {
"port": "<port>"
},
"name": "can_bind_tcp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | 127.0.0.1 | |
| port | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |