Skip to main content

render_tool_catalog

Function render_tool_catalog 

Source
pub fn render_tool_catalog(tools: &[Tool]) -> String
Expand description

Render the tool catalog — one JSON object per line.

Each line is {"type":"function","function":{"name":..,"description":..,"parameters":..}}, matching omp’s renderToolCatalog.