Skip to main content

build_tool_map

Function build_tool_map 

Source
pub fn build_tool_map(tools: &[Arc<dyn Tool>]) -> HashMap<String, Arc<dyn Tool>>
Available on crate features agents and codeact only.
Expand description

Build a ToolMap from a tool list, excluding built-in (server-side) tools which cannot be invoked from a script.