Skip to content

Glossary: AI Agents Basics

Tool

Also written: tools, tool definition

A function your code runs when the model asks, described to the model by a name, description and input schema. Priya's agent has get_order, check_stock, issue_refund and escalate_to_human.

Where the book teaches it

Related terms

Input schemaDispatch tableIdempotent