liveBook · Manning

Tool result

A tool result is information returned by an external tool after it processes an invocation, potentially including output and execution status.

How 2 Manning books explain it

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

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.