get_task_result
Retrieve task results, including status, message, and artifacts, from an A2A agent by specifying the task ID. Optionally include history length for detailed output.
Instructions
Retrieve the result of a task from an A2A agent.
Args: task_id: ID of the task to retrieve history_length: Optional number of history items to include (null for all)
Returns: Task result including status, message, and artifacts if available
Input Schema
Name | Required | Description | Default |
---|---|---|---|
history_length | No | ||
task_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"history_length": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "History Length"
},
"task_id": {
"title": "Task Id",
"type": "string"
}
},
"required": [
"task_id"
],
"type": "object"
}