Function Calling
LLMs that use tools. Schema definitions, tool selection, argument validation, execution loops.
Learning path
Work through each subtopic in order. Click any file below to open its lesson. Track your progress with the checkbox at the bottom.
Subtopics
Each subtopic includes a concise explanation, code examples, and references.
Tools
Tool registry.
Tool Definitions
JSON schema editor.
Tool Selection
Model-to-tool decision flow.
Structured Output
JSON output validator.
Function Arguments
Argument inspector.
Tool Execution
LLM → tool → result animation.
Tool Calling Loop
Multi-step execution timeline.