pub trait ToolRegistry: Send + Sync {
// Required method
fn resolve(&self, tool_name: &str) -> Option<Arc<dyn Tool>>;
// Provided method
fn available_tools(&self) -> Vec<String> { ... }
}Available on crate feature
skills only.Expand description
A registry that maps tool names to concrete tool instances.
Implementations resolve string identifiers (e.g. from a skill or config)
into executable Arc<dyn Tool> instances.
Required Methods§
Provided Methods§
Sourcefn available_tools(&self) -> Vec<String>
fn available_tools(&self) -> Vec<String>
Returns a list of all tool names available in this registry.