delegate_cancel
Stop a running delegated job and abort its agent loop. Set kill_children to true to also terminate any background processes the job launched.
Instructions
Stop a running delegated job. Aborts the agent loop. Background processes it launched keep running unless kill_children is set.
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": {
"job_id": "<job_id>"
},
"name": "delegate_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| kill_children | No | Also kill background processes the job launched |