ToolResultBlockDelta
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.
Inheritors
Types
The JSON schema for the tool result content block. see JSON Schema Reference.
The reasoning the model used to return the output.
Functions
Casts this ToolResultBlockDelta as a Json and retrieves its aws.smithy.kotlin.runtime.content.Document value. Throws an exception if the ToolResultBlockDelta is not a Json.
Casts this ToolResultBlockDelta as a Json and retrieves its aws.smithy.kotlin.runtime.content.Document value. Returns null if the ToolResultBlockDelta is not a Json.
Casts this ToolResultBlockDelta as a Text and retrieves its kotlin.String value. Throws an exception if the ToolResultBlockDelta is not a Text.
Casts this ToolResultBlockDelta as a Text and retrieves its kotlin.String value. Returns null if the ToolResultBlockDelta is not a Text.