asToolUseOrNull
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.
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.