ContentBlockStart
Types
Functions
Casts this ContentBlockStart as a ToolResult and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.ToolResultBlockStart value. Throws an exception if the ContentBlockStart is not a ToolResult.
Casts this ContentBlockStart as a ToolResult and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.ToolResultBlockStart value. Returns null if the ContentBlockStart is not a ToolResult.
Casts this ContentBlockStart as a ToolUse and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.ToolUseBlockStart value. Throws an exception if the ContentBlockStart is not a ToolUse.
Casts this ContentBlockStart as a ToolUse and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.ToolUseBlockStart value. Returns null if the ContentBlockStart is not a ToolUse.