Cancel a queued Wiro task
cancel_taskStop a queued task before it gets assigned to a worker, saving resources and preventing unwanted execution. For already started tasks, use a separate kill command.
Instructions
Cancel a task that is still queued, before worker assignment. This changes remote state. Use kill_task for a task that has already started.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskid | No | The task ID (alternative to tasktoken). | |
| tasktoken | No | The task token returned from run_model. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| action | Yes | ||
| message | Yes | ||
| success | Yes |