Skip to main content

create_tool

Function create_tool 

Source
pub fn create_tool(
    name: String,
    description: String,
    parameters: Value,
    backend: ToolBackend,
) -> Result<Arc<dyn Tool>>
Expand description

Create a dynamic tool from a backend specification.

Used by skill loading to instantiate tools from ToolBackend config.