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
Parameters for the CancelTask method.
DeletePushConfigParams
Parameters for the DeleteTaskPushNotificationConfig method.
GetExtendedAgentCardParams
Parameters for the GetExtendedAgentCard method.
GetPushConfigParams
Parameters for the GetTaskPushNotificationConfig method.
ListPushConfigsParams
Parameters for the ListTaskPushNotificationConfigs method.
ListTasksParams
Parameters for the ListTasks method.
MessageSendParams
Parameters for the SendMessage and SendStreamingMessage methods.
SendMessageConfiguration
Optional configuration for a SendMessage or SendStreamingMessage call.
TaskIdParams
Minimal parameters identifying a single task by ID.
TaskQueryParams
Parameters for the GetTask method.