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.
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
- Tool schema
- Tree of Thoughts
- User prompt
- XML tags in prompts
- Zero-shot chain-of-thought
- Zero-shot prompting
- Analogical prompting
- Assistant prefill
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.