Class: RubynCode::LLM::ToolUseBlock

Inherits:
Data
  • Object
show all
Defined in:
lib/rubyn_code/llm/message_builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#id ⇒ Object (readonly)

Returns the value of attribute id

Returns:

  • the current value of id



9
10
11
# File 'lib/rubyn_code/llm/message_builder.rb', line 9

def id
  @id
end

#input ⇒ Object (readonly)

Returns the value of attribute input

Returns:

  • the current value of input



9
10
11
# File 'lib/rubyn_code/llm/message_builder.rb', line 9

def input
  @input
end

#name ⇒ Object (readonly)

Returns the value of attribute name

Returns:

  • the current value of name



9
10
11
# File 'lib/rubyn_code/llm/message_builder.rb', line 9

def name
  @name
end

Instance Method Details

#type ⇒ Object



10
# File 'lib/rubyn_code/llm/message_builder.rb', line 10

def type = 'tool_use'