Skip to main content

build_tool_specs

Function build_tool_specs 

Source
pub fn build_tool_specs(
    adapters: &AdapterRegistry,
    bound: &[String],
) -> Vec<ToolSpec>
Expand description

Build model tool specs from the descriptors of the bound adapters. Each adapter action becomes one tool "{adapter}__{actionId}"; its required + optional fields become JSON-schema properties.