poll_task
Read the current state of a task started via start_*_task handler. Non-blocking: returns status, result on completion, or error on failure.
Instructions
Read current state of a task started via any start_*_task handler. Non-blocking: returns the registry snapshot and never waits for the task to advance. Status: pending | running | completed | cancelled | failed. Result populated when status=completed; error populated when status=failed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Task id returned by start_*_task. |