Skip to main content

Module rpc

Module rpc 

Source
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§

JsonRpcError
JSON-RPC 2.0 Error
JsonRpcRequest
JSON-RPC 2.0 Request
JsonRpcResponse
JSON-RPC 2.0 Response
ListTasksParams
Parameters for tasks/list method
ListTasksResult
Result for tasks/list method
MessageConfiguration
Configuration for message sending
MessageSendParams
Parameters for message/send and message/stream methods
PushNotificationConfig
Push notification configuration
SendStreamingMessageResponse
Base wrapper for streaming message response
TaskIdParams
Parameters for tasks/cancel method
TaskPushNotificationConfig
Configuration for push notification delivery
TaskQueryParams
Parameters for tasks/get method

Enums§

StreamingEvent
Streaming event types (discriminated by ‘type’ field)

Constants§

METHOD_AGENT_GET_EXTENDED_CARD
Get authenticated extended agent card
METHOD_TASKS_RESUBSCRIBE
Resubscribe to task updates after connection interruption