cancel_job
Stop an agent job by providing its unique ID. This tool allows you to terminate ongoing asynchronous tasks in the Agent Jobs system when they are no longer needed or require intervention.
Instructions
Cancels an agent job by its ID.
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": "cancel_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The unique identifier of the job to be canceled. Example: 'job-12345'. | |
| reason | No | An optional reason explaining why the job is being canceled. |