run_control
Cancel an active background Stata run by providing its run ID and action. Gain control over running processes in reproducible Stata projects.
Instructions
Request cancellation of one active background run.
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": {
"run_id": "<run_id>",
"action": "<action>"
},
"name": "run_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| run_id | Yes | ||
| project_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| run | No | ||
| data | No | ||
| error | No | ||
| warnings | No |