SproutStackSproutStack home

Tool Calling Loop

LLM decides to act, calls JSON tool, observes result.

Teaching this in the lesson? Read the chapter.

Step 1 of 3

1. User asks

'Refund order #12847' — needs live data.

  1. Refund #12847
  2. Model

Prefer prose? Every animation has a matching chapter, listed above. Diagrams use text labels, so they read aloud with the listen button on the lesson page.