Claude · Schema

ToolResultBlockParam

A tool result content block, providing the output from a tool invocation.

Artificial IntelligenceChatbotConversational AIGenerative AILarge Language ModelsMachine LearningNatural Language Processing

Properties

Name Type Description
type string
tool_use_id string The id of the tool use request this is a result for. Must match a tool_use block id.
content string The result of the tool call. Can be a string or array of content blocks.
is_error boolean Set to true if the tool execution resulted in an error.
View JSON Schema on GitHub