Auto
(Default). The Model automatically decides if a tool should be called or whether to generate text instead.
Inherited functions
Casts this ToolChoice as a Any and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.AnyToolChoice value. Throws an exception if the ToolChoice is not a Any.
Casts this ToolChoice as a Any and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.AnyToolChoice value. Returns null if the ToolChoice is not a Any.
Casts this ToolChoice as a Auto and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.AutoToolChoice value. Throws an exception if the ToolChoice is not a Auto.
Casts this ToolChoice as a Auto and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.AutoToolChoice value. Returns null if the ToolChoice is not a Auto.
Casts this ToolChoice as a Tool and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.SpecificToolChoice value. Throws an exception if the ToolChoice is not a Tool.
Casts this ToolChoice as a Tool and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.SpecificToolChoice value. Returns null if the ToolChoice is not a Tool.