Function Calling Loop

Step through the agent tool-use cycle: model emits tool_calls → runtime executes locally → tool results append → final answer. All mock — no API, no network.

Scenario Pick a request, then Step through the loop
Step
0 / 3
Messages
0
Tool calls
0
Registered tools JSON Schema definitions
Messages array Grows each step