agentle.agents.a2a.tasks.send_task_responseΒΆ

A2A Send Task Response Model

This module defines the SendTaskResponse class, which represents the response to a send task request in the A2A protocol. It follows the JSON-RPC response format and includes either the created task or error information.

Functions

Field()

!!! abstract "Usage Documentation"

Classes

JSONRPCError(*, code, message[, data])

Represents error information in JSON-RPC responses.

JSONRPCResponse(*, id[, result, error])

Represents a response in the JSON-RPC format.

SendTaskResponse(*, id[, result, error])

Represents the response to a send task request.

Task(*[, id, history, artifacts, metadata])

Represents a unit of work in the A2A protocol.