Get a Wiro task
get_taskCheck a task's current status and output. For pending tasks, follow the returned nextAction; when complete, display all returned media resources in the response.
Instructions
Get the current status and output of one task. By default this is an immediate check. For an active task, follow the returned nextAction instead of submitting another run. Completed tool-call turns expose ordered typed segments and a run_model continuation template whose ordinary params contain previousTaskToken and toolOutputs. When the task is complete, present every returned media resource in the user-facing response instead of reporting only task metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskid | No | The task ID (alternative to tasktoken). | |
| tasktoken | No | The task token returned from run_model. | |
| wait_seconds | No | Optional bounded wait before returning (0-45 seconds, default 0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| error | No | ||
| state | Yes | ||
| outputs | Yes | ||
| response | No | ||
| nextAction | No |