Skip to content

Bedrock Runtime  >  Unions  >  ToolResultBlockDelta

ToolResultBlockDelta

Union Type

ToolResultBlockDelta module-attribute

Contains incremental updates to tool results information during streaming responses. This allows clients to build up tool results data progressively as the response is generated.

Union Member Types

ToolResultBlockDeltaText dataclass

The reasoning the model used to return the output.

Attributes

value instance-attribute
value: str

ToolResultBlockDeltaJson dataclass

The JSON schema for the tool result content block. see JSON Schema Reference.

Attributes

value instance-attribute
value: Document

ToolResultBlockDeltaUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str