tools array, and within a single request the model runs an agentic loop — it reasons, calls a tool, observes the result, and repeats until it can answer.
Three kinds of tools
Built-in tools
Enable each by itstype. Every tool has its own reference page for full settings, response shape, and pricing.
Bring your own
MCP servers
Connect a remote MCP server with
type: mcp and let the model call its tools automatically.Custom functions
Declare a
type: function tool with a JSON Schema and run the call on your side.