Kill Process on TCP Port
kill_portTerminates the process listening on a local TCP port to free it for reuse. Use it to resolve stuck or conflicting ports during Windows development.
Instructions
Terminate the process listening on a given local TCP port.
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": "kill_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | TCP port number to free. | |
| force | No | Force-kill immediately instead of graceful terminate. |