GitHub

ToolResultBlock

API reference for ToolResultBlock.

The outcome of a tool call, sent back to the model.

Attributes

AttributeTypeDescription
toolUseIdstr
contentSequence[ToolResultContentBlock]
statusNotRequired[Literal['success', 'error']]