Builds tool schemas and function maps from tool modules.
Takes a list of modules implementing Alloy.Tool and produces:
- Tool definitions (JSON Schema format for providers)
- A dispatch map from tool name → module for execution
Summary
Functions
Build tool definitions and dispatch map from a list of tool modules.
Functions
Build tool definitions and dispatch map from a list of tool modules.
Returns {tool_defs, tool_fns} where:
tool_defsis a list of maps suitable for provider APIstool_fnsmaps tool name strings to their implementing module