Skip to main content

Module params

Module params 

Source
Expand description

JSON-RPC method parameter types.

Each A2A v1.0 method has a corresponding Params struct that maps to the params field of a crate::jsonrpc::JsonRpcRequest.

MethodParams type
SendMessageMessageSendParams
SendStreamingMessageMessageSendParams
GetTaskTaskQueryParams
CancelTaskCancelTaskParams
ListTasksListTasksParams
SubscribeToTaskTaskIdParams
CreateTaskPushNotificationConfigcrate::push::TaskPushNotificationConfig
GetTaskPushNotificationConfigGetPushConfigParams
DeleteTaskPushNotificationConfigDeletePushConfigParams

Structs§

CancelTaskParams
Represents a request for the CancelTask method.
DeletePushConfigParams
Represents a request for the DeleteTaskPushNotificationConfig method.
GetExtendedAgentCardParams
Represents a request for the GetExtendedAgentCard method.
GetPushConfigParams
Represents a request for the GetTaskPushNotificationConfig method.
ListPushConfigsParams
Represents a request for the ListTaskPushNotificationConfigs method.
ListTasksParams
Parameters for listing tasks with optional filtering criteria.
MessageSendParams
Represents a request for the SendMessage method.
SendMessageConfiguration
Configuration of a send message request.
TaskIdParams
Represents a request for the SubscribeToTask method.
TaskQueryParams
Represents a request for the GetTask method.

Traits§

AcceptedFields
The JSON keys a request type accepts, in both protobuf spellings.