Skip to content

Glossary: Building with LLMs Basics

Tool definition

Also written: input_schema, tools

The description of a function you give the model: a name, a description and a JSON schema for its arguments. The description matters most, because it is how the model decides when to use the tool.

Where the book teaches it

Related terms

Tool useJSON schema