Tool result
A tool result is information returned by an external tool after it processes an invocation, potentially including output and execution status.
Build an AI Agent (From Scratch)
A tool result is the output produced by an external tool after processing an invocation and its arguments, including whether execution succeeded or failed.
- How it is used
- Represents tool execution outcomes and feeds them back into agent reasoning or execution traces.
- How deep it goes
- Defines fields, correlation, statuses, and event wrapping, but does not specify tool-specific result schemas.
- Examples
- Uses calculator multiplication, web search, Wikipedia search, and a multi-step distance-to-time calculation.
- What you can do after
- Operate agent loops that execute tools, correlate outputs, return results to models, and retain debugging traces.
Read how Build an AI Agent (From Scratch) explains tool result →
The Art of AI Product Development
Tool output is the data returned by an external tool after it processes an agent's request.
- How it is used
- Supports agent workflows by making tool-returned data usable by the language model.
- How deep it goes
- Explains verbose JSON trimming and relevant-field selection without specifying a particular parsing algorithm.
- Examples
- Uses verbose API JSON and selecting or trimming relevant fields as examples.
- What you can do after
- Apply it via custom logic or dynamic selection to reduce irrelevant tool-output information.
Read how The Art of AI Product Development explains tool result →
Related concepts
- tool usageproduced by · Tool use is an AI system's invocation of external software functions, services, or other capabilities to obtain information or perform actions.
- code executionproduced by · Code execution is the process of running program instructions or computational operations in a computing environment.
- contextpart of · Context is the surrounding information, state, or circumstances that condition how an entity, event, or task is interpreted or how a system behaves.
- memoryproduces · Memory is a storage resource or mechanism that retains data or computational state for access during computation or later use.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

