Skip to content

AnthropicToolResultBlock

A tool result content block sent back to the API with the tool’s output.

---
title: AnthropicToolResultBlock
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class AnthropicToolResultBlock {
        +string type
        +string tool_use_id
        +string content
    }
tool_use_id: toolu_01A09q90qw90lq917835lq9
content: 72°F and sunny in Paris
NameTypeDescription
typestringThe content block type
tool_use_idstringThe tool_use id this result corresponds to
contentstringThe tool’s output content