Skip to main content

tool_specs_from_config

Function tool_specs_from_config 

pub fn tool_specs_from_config(
    config: &Config,
    agent_alias: &str,
) -> HashMap<String, ToolSpec>
Expand description

Build the tool-spec map an SOP graph projection uses to type step pins. Keys are tool names; values are the tool’s declared parameters (input pins) and output (output pin) schema. Derived once from the agent’s resolved security policy so the pins mirror the exact tools the step can call, not a hand-authored list.