stop_server
Stop a server running on a specified port; idempotently terminates the process or confirms no server was running.
Instructions
Stop whatever is running on this port. Idempotent: returns success with action='already_empty' if nothing was there. Returns action='stopped' on a successful termination.
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": "stop_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Port number of the server to stop |