Class: SkillBench::Tools::Registry

Inherits:
Object
  • Object
show all
Defined in:
lib/skill_bench/tools/registry.rb

Overview

Registry for all available tools, providing their definitions to the LLM.

Class Method Summary collapse

Class Method Details

.definitionsArray<Hash>

Returns an array of tool definitions in the format expected by the LLM API.

Returns:

  • (Array<Hash>)

    The list of available tools with their names, descriptions, and schemas.



14
15
16
17
18
19
20
# File 'lib/skill_bench/tools/registry.rb', line 14

def self.definitions
  [
    ReadFile.definition,
    WriteFile.definition,
    RunCommand.definition
  ]
end