AI TutorialLearn AI, visually

Module 02Agents

Tool Calling in Detail

How a tool is described to a model, how a call comes back, and how your code keeps it safe.

Beginner9 min
RESULTScene 5 of 8

Send the result back to the model

Tools offered2
Calls made1
Rejected1
Tool schemasname · description · paramsYouLLMYour apptool runtimeValidatorget_weatherread-onlycreate_eventchanges things
promptreplytool callresultapproval
drag to rotate · shift-drag to pan · scroll to zoom · double-click to reset
Scene 5 of 8 · Result back