Cancel a job
cancel_jobCancels a queued or running image, video, or upscale job when settings are wrong or processing takes too long, leaving the item in the gallery marked cancelled.
Instructions
Cancels a queued or running job (image, video or upscale); the item stays in the gallery with status "cancelled". Use it when a job was started with wrong settings or takes too long. Finished items are not affected; to remove one use delete_item.
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": {
"id": "<id>"
},
"name": "cancel_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Gallery id of the queued or running job |