Cancel job
agy_cancelStop a running job and its entire process group. Specify a job ID to terminate, with optional reason and grace period between SIGTERM and SIGKILL.
Instructions
Kill a running job and its whole process group.
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": "agy_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| reason | No | ||
| grace_ms | No | Milliseconds between SIGTERM and SIGKILL. |