Stop a bellows-owned llama-server
stop_serverStops a Bellows-managed llama-server on a given port, sending SIGTERM then SIGKILL after a grace period. Only stops servers it owns.
Instructions
Gracefully stop (SIGTERM, then SIGKILL after a grace period) a llama-server that bellows started. Refuses to touch processes it does not own.
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 of the bellows-owned server to stop. Bellows refuses to stop servers it did not start. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| port | Yes | ||
| forced | Yes | ||
| exitCode | Yes |