asToolAddition
Casts this ContentBlock as a ToolAddition and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.ToolAdditionBlock value. Throws an exception if the ContentBlock is not a ToolAddition.
Casts this ContentBlock as a ToolAddition and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.ToolAdditionBlock value. Throws an exception if the ContentBlock is not a ToolAddition.