Stop a background run
run_stopStop a program launched by run_start and terminate its process group through the run's control FIFO; writes the final status and reports if the grace period expires.
Instructions
Stop a run_start run: the request goes through the run's control FIFO to the runner that owns it, which kills the program's process group and writes the final status. acknowledged=false means it did not finish within grace_s (its deadline still applies).
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": {
"target": "<target>",
"run_id": "<run_id>"
},
"name": "run_stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | run_id returned by run_start (r- and 12 hex digits) | |
| target | Yes | Target name such as 'tb' (lowercase letters, digits, '-', '_'); must be inside the server allowlist | |
| grace_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||