Expand description
JSON-RPC 2.0 structures for A2A Protocol
Implements the JSON-RPC 2.0 request/response format used by the A2A protocol, along with A2A-specific RPC method constants.
Structs§
- Json
RpcError - JSON-RPC 2.0 Error
- Json
RpcRequest - JSON-RPC 2.0 Request
- Json
RpcResponse - JSON-RPC 2.0 Response
- List
Tasks Params - Parameters for tasks/list method
- List
Tasks Result - Result for tasks/list method
- Message
Configuration - Configuration for message sending
- Message
Send Params - Parameters for message/send and message/stream methods
- Push
Notification Config - Push notification configuration
- Send
Streaming Message Response - Base wrapper for streaming message response
- Task
IdParams - Parameters for tasks/cancel method
- Task
Push Notification Config - Configuration for push notification delivery
- Task
Query Params - Parameters for tasks/get method
Enums§
- Streaming
Event - Streaming event types (discriminated by ‘type’ field)
Constants§
- JSONRPC_
VERSION - JSON-RPC 2.0 version constant
- METHOD_
AGENT_ GET_ EXTENDED_ CARD - Get authenticated extended agent card
- METHOD_
MESSAGE_ SEND - Send a message to initiate or continue a task
- METHOD_
MESSAGE_ STREAM - Send a message and subscribe to real-time updates via SSE
- METHOD_
TASKS_ CANCEL - Request cancellation of a running task
- METHOD_
TASKS_ GET - Retrieve the current state of a task
- METHOD_
TASKS_ LIST - Retrieve a list of tasks with optional filtering
- METHOD_
TASKS_ PUSH_ CONFIG_ GET - Get push notification configuration for a task
- METHOD_
TASKS_ PUSH_ CONFIG_ SET - Set push notification configuration for a task
- METHOD_
TASKS_ RESUBSCRIBE - Resubscribe to task updates after connection interruption