Module: ToolForge
- Defined in:
- lib/tool_forge.rb,
lib/tool_forge/version.rb,
lib/tool_forge/tool_definition.rb
Overview
ToolForge provides a unified DSL for defining tools that can be converted to both RubyLLM and Model Context Protocol (MCP) formats.
Defined Under Namespace
Classes: Error, ToolDefinition
Constant Summary collapse
- VERSION =
The current version of the ToolForge gem
'0.2.0'
Class Method Summary collapse
-
.define(name) { ... } ⇒ ToolDefinition
Creates a new tool definition with the given name and configuration block.
Class Method Details
.define(name) { ... } ⇒ ToolDefinition
Creates a new tool definition with the given name and configuration block.
53 54 55 |
# File 'lib/tool_forge.rb', line 53 def self.define(name, &) ToolDefinition.new(name, &) end |