BuildBot

The Agent Loop

Tool use

Lesson 2 of 3

Tools are functions you describe to the model with a JSON schema, then dispatch by name when it asks.

What you'll learn

  • Describe a tool with a name, description, and input schema
  • Dispatch a tool call by name to your real function
  • Return the result so the model can continue
Members only

A free account unlocks this lesson and every other one.

Runnable challenges, knowledge checks, and progress that syncs across your devices. No card needed.

Not sure yet? Try the free lesson first: The agent loop