jobs_cancel
Signals a running task to stop. The worker checks for cancellation between leads and will stop within a few seconds. Only tasks with status IN_PROGRESS or PENDING can be cancelled.
Method: POST /api/v1/workspaces/{workspace_sqid}/jobs/{sqid}/cancel/
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": {
"sqid": "<sqid>"
},
"name": "jobs_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sqid | Yes |