Skip to content
ignitae
Academy
Function calling and tools
Parse a tool call, dispatch it, and loop model-and-tool until the answer arrives.
Syllabus
Parse a tool call
A tool call is a name and arguments
Parse a tool call (exercise)
Dispatch
Dispatch finds the tool that matches the name
Dispatch a tool call (exercise)
The tool loop
The agentic loop alternates model and tool
The tool loop (exercise)