Expand description
JSON-RPC 2.0 envelope types and A2A method/code constants.
Structs§
- Json
RpcError - JSON-RPC 2.0 error object.
- Json
RpcRequest - JSON-RPC 2.0 request envelope.
- Json
RpcResponse - JSON-RPC 2.0 response envelope.
Enums§
- Json
RpcId - Allowed JSON-RPC request/response identifier forms.
Constants§
- CONTENT_
TYPE_ NOT_ SUPPORTED - A2A unsupported-content-type error code.
- EXTENDED_
AGENT_ CARD_ NOT_ CONFIGURED - A2A extended-agent-card-not-configured error code.
- EXTENSION_
SUPPORT_ REQUIRED - A2A extension-support-required error code.
- INTERNAL_
ERROR - JSON-RPC internal error code.
- INVALID_
AGENT_ RESPONSE - A2A invalid-agent-response error code.
- INVALID_
PARAMS - JSON-RPC invalid params error code.
- INVALID_
REQUEST - JSON-RPC invalid request error code.
- JSONRPC_
VERSION - Required JSON-RPC version marker.
- METHOD_
CANCEL_ TASK - JSON-RPC method name for
CancelTask. - METHOD_
CREATE_ TASK_ PUSH_ NOTIFICATION_ CONFIG - JSON-RPC method name for
CreateTaskPushNotificationConfig. - METHOD_
DELETE_ TASK_ PUSH_ NOTIFICATION_ CONFIG - JSON-RPC method name for
DeleteTaskPushNotificationConfig. - METHOD_
GET_ EXTENDED_ AGENT_ CARD - JSON-RPC method name for
GetExtendedAgentCard. - METHOD_
GET_ TASK - JSON-RPC method name for
GetTask. - METHOD_
GET_ TASK_ PUSH_ NOTIFICATION_ CONFIG - JSON-RPC method name for
GetTaskPushNotificationConfig. - METHOD_
LIST_ TASKS - JSON-RPC method name for
ListTasks. - METHOD_
LIST_ TASK_ PUSH_ NOTIFICATION_ CONFIGS - JSON-RPC method name for
ListTaskPushNotificationConfigs. - METHOD_
NOT_ FOUND - JSON-RPC method not found error code.
- METHOD_
SEND_ MESSAGE - JSON-RPC method name for
SendMessage. - METHOD_
SEND_ STREAMING_ MESSAGE - JSON-RPC method name for
SendStreamingMessage. - METHOD_
SUBSCRIBE_ TO_ TASK - JSON-RPC method name for
SubscribeToTask. - PARSE_
ERROR - JSON-RPC parse error code.
- PROTOCOL_
VERSION - Required A2A protocol version header value.
- PUSH_
NOTIFICATION_ NOT_ SUPPORTED - A2A push-notifications-not-supported error code.
- TASK_
NOT_ CANCELABLE - A2A task-not-cancelable error code.
- TASK_
NOT_ FOUND - A2A task-not-found error code.
- UNSUPPORTED_
OPERATION - A2A unsupported-operation error code.
- VERSION_
NOT_ SUPPORTED - A2A version-not-supported error code.