Class: A2A::TaskSendParams

Inherits:
ProtocolStruct
  • Object
show all
Defined in:
lib/a2a/types/task_send_params.rb

Overview

Parameters for the ‘tasks/send` method.

Instance Method Summary collapse

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#history_lengthInteger?

Returns Optional parameter to specify how much message history to include in the response.

Returns:

  • (Integer, nil)

    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

#idString

Returns Unique identifier for the task being initiated or continued.

Returns:

  • (String)

    Unique identifier for the task being initiated or continued.



7
# File 'lib/a2a/types/task_send_params.rb', line 7

attribute :id, Types::String

#messageMessage

Returns The message content to send to the agent for processing.

Returns:

  • (Message)

    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)

#metadataHash?

Returns Optional metadata associated with sending this message.

Returns:

  • (Hash, nil)

    Optional metadata associated with sending this message.



24
# File 'lib/a2a/types/task_send_params.rb', line 24

attribute? :metadata, Types::Hash.optional

#push_notificationPushNotificationConfig?

this task. Requires agent capability.

Returns:



18
# File 'lib/a2a/types/task_send_params.rb', line 18

attribute? :push_notification, Types::Constructor(PushNotificationConfig).optional

#session_idString?

session might be implicitly created depending on the agent.

Returns:

  • (String, nil)

    Optional identifier for the session this task belongs to. If not provided, a new



11
# File 'lib/a2a/types/task_send_params.rb', line 11

attribute? :session_id, Types::String.optional