Cancel a queued Wiro task
cancel_taskCancel a model task that is still queued. It is refused once the task has started; kill_task stops a task in either state. A task cancelled while queued is never charged.
Instructions
Cancel a model task that is still queued. It is refused once the task has started; kill_task stops a task in either state. A task cancelled while queued is never charged.
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 |