Glossary · AI Agents
What is Tool Calling (Function Calling)?
A model capability where the AI returns a structured request to run a function with specific arguments, instead of plain text.
In more detail
You describe tools with names, descriptions and JSON schemas. The model chooses a tool and arguments; your application validates and runs it and sends back the result.
Example
The model asks for check_train_seats(train_number="12127", date="2026-11-13").
Learn it properlyTool Calling Explained: How AI Agents Use Functions and APIs11 min lesson · AI Agents