Brute
Brute::Completion::RubyLLM::Tool
module Brute::Completion::RubyLLM class Tool endendA Brute tool adapter wearing the interface
ruby_llm’s providers read off a
RubyLLM::Tool: name,
description, and a
[params_schema](/brute/reference/brute/completion/ruby-llm/tool/#params_sche
ma) (they fall back to
#parameters
only when that is nil), plus
[#provider_params](/brute/reference/brute/completion/ruby-llm/tool/#provider
_params) to deep-merge into the declaration. Brute’s own ToolPipeline runs the
tool, so this mostly has to describe it —
#call is here for a
caller that hands the same list to ruby_llm’s dispatch.
Class Methods
self.new
new(adapter)Not documented.
Instance Methods
#call
call(args)Not documented.
#description
description()Not documented.
#name
name()Not documented.
#parameters
parameters()Not documented.
#params_schema
params_schema()Not documented.
#provider_params
provider_params()Not documented.
Defined in
lib/brute/completion/ruby_llm.rb