Skip to main content

Module types

Module types 

Source
Expand description

A2A Protocol Types

Types aligned with the A2A specification (a2a.json schema)

Structs§

AgentCapabilities
AgentCard
Agent Card - self-describing manifest
AgentProvider
AgentSkill
Artifact
An artifact produced by a task
FileContent
File content (bytes or URI)
JsonRpcError
JsonRpcRequest
JSON-RPC 2.0 Request
JsonRpcResponse
JSON-RPC 2.0 Response
Message
An A2A Message
MessageSendConfiguration
MessageSendParams
Message send parameters
PushNotificationConfig
Task
An A2A Task
TaskQueryParams
Task query parameters
TaskStatus
Task status information

Enums§

MessageRole
Part
A part of a message
TaskState
A2A Task States

Constants§

CONTENT_TYPE_NOT_SUPPORTED
INTERNAL_ERROR
INVALID_PARAMS
INVALID_REQUEST
METHOD_NOT_FOUND
PARSE_ERROR
PUSH_NOT_SUPPORTED
TASK_NOT_CANCELABLE
TASK_NOT_FOUND
UNSUPPORTED_OPERATION