sockdock_stop_run
Cancel a run that is taking too long: it stops execution and posts a "stopped" reply in its thread. Already-completed edits and commands are not undone.
Instructions
Stops a run in progress and posts a "stopped" reply in its thread; the answer it had so far is not posted. What the run already did (files edited, commands run) is not undone, and the next reply in the thread starts a new run. Get the run's id from sockdock_get_status or sockdock_list_runs; for a run that has already ended it returns an error and changes nothing. Use it when the user asks to cancel something that is taking too long.
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": {
"id": "<id>"
},
"name": "sockdock_stop_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | id of a run whose status is running (running[].id in sockdock_get_status, or id in sockdock_list_runs) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes |