Code Safari

Chapter 33·Intermediate

Tool Calling: How AI Agents Act on the World

01 / 06

The core idea

Tools are how an agent affects anything.

A model can only output text. A tool turns a specific piece of that text into a real action — a search, an API call, a database query, running code.

Tool Calling: How AI Agents Act on the World | Code Safari