AI engineering glossary · Prompt context engineering

What is tool result message?

Tool result message: The message sent back to the model after a tool has run, containing the tool's output and linked to the model's call by an identifier. The model reads it to write its final reply or make another call.

Level: intermediateTopic: Prompt context engineering

Tool result message: an example

Role 'tool', call id 'abc1', content '{"status":"Out for delivery"}', which the model turns into a friendly update.

Related terms

More Prompt context engineering terms

Where you learn it

Tool result message 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.