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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cancel_task"
}
}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 |