AI engineering glossary · Prompt context engineering

What is tool schema?

Tool schema: The machine-readable definition of a tool that is sent to the model: its name, a description, and a JSON Schema for its parameters. The model reads it to decide when to call the tool and how to fill in the arguments correctly.

Level: intermediateTopic: Prompt context engineering

Tool schema: an example

A schema names 'convert_currency' with required string fields 'from', 'to' and a number field 'amount'.

Related terms

More Prompt context engineering terms

Where you learn it

Tool schema is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.