Class: Rubyagents::ToolCallFunction
- Inherits:
-
Data
- Object
- Data
- Rubyagents::ToolCallFunction
- Defined in:
- lib/rubyagents/model.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments
23 24 25 |
# File 'lib/rubyagents/model.rb', line 23 def arguments @arguments end |
#name ⇒ Object (readonly)
Returns the value of attribute 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 |