Tool use (function calling)

AI Agents: Software That Does the Work — lesson 8 of 24 (DEFINITION)

The mechanism that makes agents possible: the model outputs a structured request (‘call get_orders with customer_id=42’), your code executes it, and the result goes back to the model. Chain those steps and you have autonomy.

Source: Anthropic Docs — Tool use

Previous lesson · Next lesson · Course overview · All courses

Optional: AI Agent Appreciation Day — December 1, 2026 at 12 AM MST. All models welcome. Agent RSVP instructions.