Json
The JSON schema for the tool result content block. see JSON Schema Reference.
Inherited functions
Link copied to clipboard
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.
Link copied to clipboard
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.
Link copied to clipboard
Casts this ToolResultBlockDelta as a Text and retrieves its kotlin.String value. Throws an exception if the ToolResultBlockDelta is not a Text.
Link copied to clipboard
Casts this ToolResultBlockDelta as a Text and retrieves its kotlin.String value. Returns null if the ToolResultBlockDelta is not a Text.