Class: Rubyagents::ToolCallFunction

Inherits:
Data
  • Object
show all
Defined in:
lib/rubyagents/model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#arguments ⇒ Object (readonly)

Returns the value of attribute arguments

Returns:

  • (Object) —

    the current value of arguments



23
24
25
# File 'lib/rubyagents/model.rb', line 23

def arguments
  @arguments
end

#name ⇒ Object (readonly)

Returns the value of attribute name

Returns:

  • (Object) —

    the current value of name



23
24
25
# File 'lib/rubyagents/model.rb', line 23

def name
  @name
end

Instance Method Details

#to_h ⇒ Object



24
25
26
# File 'lib/rubyagents/model.rb', line 24

def to_h
  { name: name, arguments: arguments }
end