Class: A2A::TaskSendParams
- Inherits:
-
ProtocolStruct
- Object
- Dry::Struct
- ProtocolStruct
- A2A::TaskSendParams
- Defined in:
- lib/a2a/types/task_send_params.rb
Overview
Parameters for the ‘tasks/send` method.
Instance Method Summary collapse
-
#history_length ⇒ Integer?
Optional parameter to specify how much message history to include in the response.
-
#id ⇒ String
Unique identifier for the task being initiated or continued.
-
#message ⇒ Message
The message content to send to the agent for processing.
-
#metadata ⇒ Hash?
Optional metadata associated with sending this message.
-
#push_notification ⇒ PushNotificationConfig?
this task.
-
#session_id ⇒ String?
session might be implicitly created depending on the agent.
Methods included from Extensions::CaseTransformation
Instance Method Details
#history_length ⇒ Integer?
Returns Optional parameter to specify how much message history to include in the response.
21 |
# File 'lib/a2a/types/task_send_params.rb', line 21 attribute? :history_length, Types::Integer.optional |
#id ⇒ String
Returns Unique identifier for the task being initiated or continued.
7 |
# File 'lib/a2a/types/task_send_params.rb', line 7 attribute :id, Types::String |
#message ⇒ Message
Returns The message content to send to the agent for processing.
14 |
# File 'lib/a2a/types/task_send_params.rb', line 14 attribute :message, Types::Constructor(Message) |
#metadata ⇒ Hash?
Returns Optional metadata associated with sending this message.
24 |
# File 'lib/a2a/types/task_send_params.rb', line 24 attribute? :metadata, Types::Hash.optional |
#push_notification ⇒ PushNotificationConfig?
this task. Requires agent capability.
18 |
# File 'lib/a2a/types/task_send_params.rb', line 18 attribute? :push_notification, Types::Constructor(PushNotificationConfig).optional |
#session_id ⇒ String?
session might be implicitly created depending on the agent.
11 |
# File 'lib/a2a/types/task_send_params.rb', line 11 attribute? :session_id, Types::String.optional |