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.
| Method | Params type |
|---|---|
SendMessage | MessageSendParams |
SendStreamingMessage | MessageSendParams |
GetTask | TaskQueryParams |
CancelTask | CancelTaskParams |
ListTasks | ListTasksParams |
SubscribeToTask | TaskIdParams |
CreateTaskPushNotificationConfig | crate::push::TaskPushNotificationConfig |
GetTaskPushNotificationConfig | GetPushConfigParams |
DeleteTaskPushNotificationConfig | DeletePushConfigParams |
Structs§
- Cancel
Task Params - Parameters for the
CancelTaskmethod. - Delete
Push Config Params - Parameters for the
DeleteTaskPushNotificationConfigmethod. - GetExtended
Agent Card Params - Parameters for the
GetExtendedAgentCardmethod. - GetPush
Config Params - Parameters for the
GetTaskPushNotificationConfigmethod. - List
Push Configs Params - Parameters for the
ListTaskPushNotificationConfigsmethod. - List
Tasks Params - Parameters for the
ListTasksmethod. - Message
Send Params - Parameters for the
SendMessageandSendStreamingMessagemethods. - Send
Message Configuration - Optional configuration for a
SendMessageorSendStreamingMessagecall. - Task
IdParams - Minimal parameters identifying a single task by ID.
- Task
Query Params - Parameters for the
GetTaskmethod.