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.
Four 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. Calls run without approval by default; set require_approval to review calls before they run.Custom functions
Declare a
type: function tool with a JSON Schema and run the call on your side.