Function tools work as with OpenAI: the model asks for a tool, your code runs it, and you send the result back as a tool message.
Which models can call tools
Models served by an OpenAI-format source or a ChatGPT account. Borminto sends tool requests, and conversations that contain tool messages, only to those sources. If none serves the model, the answer is 400tools_unsupported.
Request
toolsarray · optional
Up to 64 functions, each with name, description and JSON Schema parameters.