Tool calls (function calling)
Tool calling is a request shape in which the model is given a catalogue of callable functions, each with a name and a JSON Schema parameter spec, and is allowed to respond with one or more structured invocations instead of free text.
The model produces the invocation; the application layer executes it and feeds the result back, which is how a stateless completion endpoint extends into a grounded multi-turn loop without hosting arbitrary application code on the server.
For the longer treatment, see API: tool calls.