get_task_result
Retrieve the status and results of a task created through the MCP-A2A-Gateway server using its unique task identifier.
Instructions
Retrieves the result or status of a previously created task.
Using the task_id returned by send_message, this tool fetches the
current state and any results from the corresponding A2A agent.
Args: task_id (str): The unique identifier of the task to retrieve. ctx (Context): The MCP context for logging.
Returns: Dict[str, Any]: A dictionary containing the task's current status, result message, and any associated data or an error if the task ID is not found.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes |