Class: OllamaAgent::ToolRuntime::Tool
- Inherits:
-
Object
- Object
- OllamaAgent::ToolRuntime::Tool
- Defined in:
- lib/ollama_agent/tool_runtime/tool.rb
Overview
Instance Method Summary collapse
Instance Method Details
#call(args) ⇒ Object
19 20 21 |
# File 'lib/ollama_agent/tool_runtime/tool.rb', line 19 def call(args) raise NotImplementedError, "#{self.class} must implement #call" end |
#description ⇒ Object
11 12 13 |
# File 'lib/ollama_agent/tool_runtime/tool.rb', line 11 def description raise NotImplementedError, "#{self.class} must implement #description" end |
#name ⇒ Object
7 8 9 |
# File 'lib/ollama_agent/tool_runtime/tool.rb', line 7 def name raise NotImplementedError, "#{self.class} must implement #name" end |
#schema ⇒ Object
15 16 17 |
# File 'lib/ollama_agent/tool_runtime/tool.rb', line 15 def schema raise NotImplementedError, "#{self.class} must implement #schema" end |