alson
02/02/2026, 11:40 PMSanjan
02/03/2026, 9:22 AMfunction UseTool(user_message: string) -> (WeatherAPI | MyOtherAPI)[] {
client "openai/gpt-5-mini"
prompt #"
Given a message, extract info.
{# special macro to print the functions return type. #}
{{ ctx.output_format }}
{{ _.role('user') }}
{{ user_message }}
"#
}alson
02/04/2026, 10:55 AM