Package io.a2a.spec
package io.a2a.spec
-
ClassDescriptionException to indicate a general failure related to an A2A client.Exception to indicate a general failure related to the A2A protocol.Exception to indicate a general failure related to an A2A server.Defines optional capabilities supported by an agent.The AgentCard is a self-describing manifest for an agent.Represents a JWS signature of an AgentCard.A declaration of a protocol extension supported by an Agent.Declares a combination of a target URL and a transport protocol for interacting with the agent.Represents the service provider of an agent.The set of skills, or distinct capabilities, that the agent can perform.Defines a security scheme using an API key.Represents the location of the API key.Represents a file, data structure, or other resource generated by an agent during a task.An A2A-specific error indicating that the agent does not have an Authenticated Extended Card configuredThe authentication info for an agent.Defines configuration details for the OAuth 2.0 Authorization Code flow.A request that can be used to cancel a task.A response to a cancel task request.Defines configuration details for the OAuth 2.0 Client Credentials flow.An A2A-specific error indicating an incompatibility between the requested content types and the agent's capabilities.Represents a structured data segment (e.g., JSON) within a message or artifact.Parameters for removing pushNotificationConfiguration associated with a Task.A delete task push notification config request.A response for a delete task push notification config request.Represents a file segment within a message or artifact.Represents a file with its content provided directly as a base64-encoded string.Represents a file with its content located at a specific URI.Represents a JSON-RPC request for the `agent/getAuthenticatedExtendedCard` method.A response for the `agent/getAuthenticatedExtendedCard` method.Parameters for fetching a pushNotificationConfiguration associated with a Task.A get task push notification request.A response for a get task push notification request.A get task request.The response for a get task request.Defines a security scheme using HTTP authentication.Defines configuration details for the OAuth 2.0 Implicit flow.An error indicating an internal error on the server.An A2A-specific error indicating that the agent returned a response that does not conform to the specification for the current method.An error indicating that the method parameters are invalid.An error indicating that the JSON sent is not a valid Request object.An error indicating that the server received invalid JSON.Represents a JSON-RPC 2.0 Error object, included in an error response.A JSON RPC error response.Defines the base structure for any JSON-RPC 2.0 request, response, or notification.Represents a JSONRPC request.Represents a JSONRPC response.Parameters for getting list of pushNotificationConfigurations associated with a Task.A list task push notification config request.A response for a list task push notification config request.Represents a single message in the conversation between a user and an agent.Defines configuration options for a `message/send` or `message/stream` request.Defines the parameters for a request to send a message to an agent.An error indicating that the requested method does not exist or is not available.Defines a security scheme using mTLS authentication.Represents a non-streaming JSON-RPC request.Defines a security scheme using OAuth 2.0.Defines the configuration for the supported OAuth 2.0 flows.Defines a security scheme using OpenID Connect.Part<T>A fundamental unit with a Message or Artifact.Defines configuration details for the OAuth 2.0 Resource Owner Password flow.Defines authentication details for a push notification endpoint.Defines the configuration for setting up push notifications for task updates.An A2A-specific error indicating that the agent does not support push notifications.Used to send a message request.The response after receiving a send message request.Used to initiate a task with streaming.The response after receiving a request to initiate a task with streaming.Used to set a task push notification request.The response after receiving a set task push notification request.Represents a streaming JSON-RPC request.Represents a single, stateful operation or conversation between a client and an agent.An event sent by the agent to notify the client that an artifact has been generated or updated.Defines parameters containing a task ID, used for simple task operations.An A2A-specific error indicating that the task is in a state where it cannot be canceled.An A2A-specific error indicating that the requested task ID was not found.A container associating a push notification configuration with a specific task.Defines parameters for querying a task, with an option to limit history length.Used to resubscribe to a task.Defines the lifecycle states of a Task.Represents the status of a task at a specific point in time.An event sent by the agent to notify the client of a change in a task's status.Represents a text segment within a message or artifact.Supported A2A transport protocols.An A2A-specific error indicating that the requested operation is not supported by the agent.