class

Autobot::Tools::WebSearchTool

Inherits Autobot::Tools::Tool < Reference < Object

Search the web using Brave Search API.

Constants

DEFAULT_MAX_RESULTS = 5
Log = ::Log.for(self)

Constructors

new(api_key : String | Nil = nil, max_results : Int32 = DEFAULT_MAX_RESULTS)
Source

Instance methods

description
Source
execute(params : Hash(String, JSON::Any)) : ToolResult
Source
name
Source
parameters
Source