Skip to main content

Module jsonrpc

Module jsonrpc 

Source
Expand description

JSON-RPC 2.0 envelope types and A2A method/code constants.

Structs§

JsonRpcError
JSON-RPC 2.0 error object.
JsonRpcRequest
JSON-RPC 2.0 request envelope.
JsonRpcResponse
JSON-RPC 2.0 response envelope.

Enums§

JsonRpcId
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.