Understanding Tool Calling

Master how LLMs invoke external tools — from JSON Schema definitions and model decision-making to agent loops, security, and production monitoring.


Foundations

What tool calling is and how tools are defined for language models.

How Models Decide

How language models select tools and how their output is parsed and validated.

Advanced Patterns

Multi-turn tool use, parallel calls, and building agent loops.

Security and Production

Defending tool calls against attacks, adding guardrails, and monitoring in production.