Class: Smith::Tools::UrlFetcher

Inherits:
Smith::Tool
  • Object
show all
Defined in:
lib/smith/tools/url_fetcher.rb

Instance Method Summary collapse

Methods inherited from Smith::Tool

authorize, before_execute, capabilities, capture_result, category, compatible_with, current_deadline, current_deadline=, current_guardrails, current_guardrails=, current_ledger, current_ledger=, current_tool_call_allowance, current_tool_call_allowance=, current_tool_result_collector, current_tool_result_collector=, #execute, inherited

Instance Method Details

#perform(url:) ⇒ Object

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/smith/tools/url_fetcher.rb', line 11

def perform(url:)
  raise NotImplementedError, "#{self.class} requires a host-app implementation"
end