Class: LiterLlm::ToolMessage

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeToolMessage

Returns a new instance of ToolMessage.

Parameters:

  • content: (UserContent)
  • tool_call_id: (String)
  • name: (String)


873
# File 'sig/types.rbs', line 873

def initialize: (?content: UserContent, ?tool_call_id: String, ?name: String) -> void

Instance Attribute Details

#contentUserContent (readonly)

Returns the value of attribute content.

Returns:



869
870
871
# File 'sig/types.rbs', line 869

def content
  @content
end

#nameString? (readonly)

Returns the value of attribute name.

Returns:

  • (String, nil)


871
872
873
# File 'sig/types.rbs', line 871

def name
  @name
end

#tool_call_idString (readonly)

Returns the value of attribute tool_call_id.

Returns:

  • (String)


870
871
872
# File 'sig/types.rbs', line 870

def tool_call_id
  @tool_call_id
end