Glossary

Tool calling

function callingtool use

The mechanism that lets a language model act. The model writes a structured request naming a tool and its arguments, the application runs the real call, and the result goes back to the model as more context.

The model never touches the API itself. It generates text that matches a schema, and the application decides whether and how to run it. That is why permissions, confirmation and logging belong in the application, not in the prompt.

Models chain tools on their own. Each call is chosen from the result of the one before.