task_result
Retrieve a completed task's result and status for a given agent, or the latest result when no task ID is specified.
Instructions
Get the result of a task enriched with task_id and status. If task_id is omitted, returns the last result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | No | ||
| agent_id | Yes |