Tool Calling and Structured Outputs
Tool Calling
Tool calling (also known as function calling) allows models to intelligently select and use external tools based on user input. Our API is fully compataible with the OpenAI API, so you can build agents that access APIs, retrieve real-time data, or perform actions—all through OpenAI-compatible tool specifications.
Structured Outputs
Structured Outputs is a features that ensures that the model will always genearte responses that adhere to your supplied JSON Schema, so you don't need to worry about the model omitting a required key, or hallucinating an invalid enum value. Doubleword is compatible with the OpenAI schema to enforce Structured Outputs.