pub fn render_function(
name: &str,
description: &str,
parameters: &Schema,
strict: bool,
) -> ValueExpand description
Render a tool as an OpenAI function definition.
Output format:
{
"type": "function",
"function": {
"name": "...",
"description": "...",
"strict": true,
"parameters": { ... }
}
}