Cancel a queued Wiro task
cancel_taskCancel a queued task before worker assignment, changing its remote state to prevent execution. For tasks already started, use kill_task.
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 |