check_ports
Check if specified TCP ports are free on localhost to prevent port conflicts when starting development services.
Instructions
Check whether the given TCP ports are free on localhost.
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": {
"ports": "<ports>"
},
"name": "check_ports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ports | Yes | Ports the project needs, e.g. [3000, 5432] |