A2A: Get Task
a2a_get_taskFetch a task's full state, conversation history, and artifacts by ID. For outbound tasks, set refresh: true to re-read from the peer that owns it.
Instructions
One task in full: its state, the conversation so far, and every artifact's text. Use this once a2a_list_tasks or a2a_wait_for_task has told you which id you care about. For a task you delegated (direction outbound), pass refresh: true to re-read it from the peer that owns it — the local copy is only a mirror and does not update itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Re-read the task from the peer that owns it and update the local mirror. Only meaningful for an outbound task; ignored for an inbound one, where this machine already holds the authoritative copy. Defaults to false. | |
| task_id | Yes | A task id as it appears in a2a_list_tasks, e.g. "task-mfk2j1-8ac31b". Ids are generated by whichever side created the task — never composed by hand. | |
| history_length | No | How many of the most recent messages to include (0-100). Defaults to 10; a long conversation is trimmed and the response says by how much. 0 omits the history. |