asToolRemoval
Casts this ContentBlock as a ToolRemoval and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.ToolRemovalBlock value. Throws an exception if the ContentBlock is not a ToolRemoval.
Casts this ContentBlock as a ToolRemoval and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.ToolRemovalBlock value. Throws an exception if the ContentBlock is not a ToolRemoval.