AnthropicToolResultBlock
A tool result content block sent back to the API with the tool’s output.
Class Diagram
Section titled “Class Diagram”---
title: AnthropicToolResultBlock
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class AnthropicToolResultBlock {
+string type
+string tool_use_id
+string content
}
Yaml Example
Section titled “Yaml Example”tool_use_id: toolu_01A09q90qw90lq917835lq9content: 72°F and sunny in ParisProperties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| type | string | The content block type |
| tool_use_id | string | The tool_use id this result corresponds to |
| content | string | The tool’s output content |