Skip to content

Glossary: AI Agents Basics

is_error

Also written: tool_result, tool_use, tool_use_id, tool_use blocks

Parts of the API's tool protocol. The model sends a tool_use block with an id, and your code must answer with a tool_result carrying the same tool_use_id, with is_error true if the tool failed.

Where the book teaches it

Related terms

ToolParallel tool call