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: (String)
  • tool_call_id: (String)
  • name: (String)


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

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

Instance Attribute Details

#contentString?

Returns the value of attribute content.

Returns:

  • (String, nil)


64
65
66
# File 'sig/types.rbs', line 64

def content
  @content
end

#nameString?

Returns the value of attribute name.

Returns:

  • (String, nil)


66
67
68
# File 'sig/types.rbs', line 66

def name
  @name
end

#tool_call_idString?

Returns the value of attribute tool_call_id.

Returns:

  • (String, nil)


65
66
67
# File 'sig/types.rbs', line 65

def tool_call_id
  @tool_call_id
end