Cancel Devin worker
devin_cancelStop an existing Devin job by job ID and return its cancellation or terminal state. Changes already made in the working directory are preserved.
Instructions
Stop an existing Devin job and return its cancellation or existing terminal state. Cancellation preserves changes already made in the working directory.
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": "devin_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job identifier returned by devin_run. |