Class: A2A::MessageSendParams

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

Overview

Defines the parameters for a request to send a message to an agent. This can be used to create a new task, continue an existing one, or restart a task.

Instance Method Summary collapse

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#configurationMessageSendConfiguration?

Returns Optional configuration for the send request.

Returns:



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

attribute? :configuration, Types::Constructor(MessageSendConfiguration).optional

#messageMessage

Returns The message object being sent to the agent.

Returns:

  • (Message)

    The message object being sent to the agent.



8
# File 'lib/a2a/types/message_send_params.rb', line 8

attribute :message, Types::Constructor(Message)

#metadataHash?

Returns Optional metadata for extensions.

Returns:

  • (Hash, nil)

    Optional metadata for extensions.



14
# File 'lib/a2a/types/message_send_params.rb', line 14

attribute? :metadata, Types::Hash.optional