Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry manages the available tools.
func (*Registry) Execute ¶
Execute looks up a tool by name and executes it. Returns an error if the tool is not found.
func (*Registry) Register ¶
func (r *Registry) Register(name string, fn ToolFunction)
Register adds a tool to the registry. If a tool with the same name exists, it is overwritten.
Click to show internal directories.
Click to hide internal directories.