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.
- [ ] What Is Tool Calling? [text] free
- [ ] Defining Tools with JSON Schema [text]
How Models Decide
How language models select tools and how their output is parsed and validated.
- [ ] The Tool Selection Process [text] free
- [ ] Parsing and Validating Tool Calls [text]
Advanced Patterns
Multi-turn tool use, parallel calls, and building agent loops.
- [ ] Multi-Turn Tool Use [text] free
- [ ] Parallel and Dependent Tool Calls [text]
- [ ] Building an Agent Loop [text]
Security and Production
Defending tool calls against attacks, adding guardrails, and monitoring in production.
- [ ] Prompt Injection and Tool Safety [text] free
- [ ] Guardrails and Permissions [text]
- [ ] Monitoring and Debugging [text]