Get background task
background_taskRead-onlyIdempotent
Get one Anon background task by id. Each ask_anon call creates a task; poll this tool until status is no longer "pending": "completed" means the Anon reply is in result; any other status (e.g. "failed") means the request did not finish, check logs. Returns id, prompt, status, result ("—" while absent), logs (execution trace, appended live while the task runs), createdAt, updatedAt; the same object is returned as structuredContent.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Background task ID (returned by ask_anon or background_task_list) |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| logs | No | Execution trace lines, appended while the task runs | |
| prompt | No | ||
| result | No | Anon reply; present once status is completed | |
| status | No | pending | completed | failed | |
| createdAt | No | ||
| updatedAt | No |