Tools

The mechanisms that let a model do something — take an action, look something up — instead of only answering in text.

“Tool” here doesn’t mean an AI product like an image generator or a writing assistant. It means one specific capability you hand a model — a search, a database lookup, a function of your own — so it can do something other than write text.

  • Tool Calling — lets a model request a specific action with structured arguments — your code runs it and sends the result back, not the model.
  • Function Calling — is the tool-calling mechanism applied to one specific kind of tool: a custom function you define, described well enough for a model to call correctly.
  • Structured Outputs — structured output forces a model's response to match a schema you define, so your code can parse it reliably instead of guessing at its shape.

Comparisons