tasks_get_status
Poll an Agent Method task by opaque task_ref using the bounded common response. Legacy task_id input remains accepted but returns the same bounded status-only envelope, never raw result or logs. At terminal=true, consume result and source_anchor directly; never resubmit the original page-one Agent Method query merely to recover that task. A later user request to check again starts a new cached page-one query without old cursors/anchors; it does not request a provider refresh.
REQUIRED: exactly one of task_ref (opaque ref from insights_query_consistent) or task_id (legacy UUID). Optional: response_mode=compact for task_ref. EXAMPLE: tasks_get_status({"task_ref": ""})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | No | ||
| task_ref | No | ||
| response_mode | No | compact |