Any
Defines tools, at least one of which must be requested by the model. No text is generated but the results of tool use are sent back to the model to help generate a response.
Inherited functions
Casts this ToolChoice as a Any and retrieves its aws.sdk.kotlin.services.bedrockagent.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.bedrockagent.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.bedrockagent.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.bedrockagent.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.bedrockagent.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.bedrockagent.model.SpecificToolChoice value. Returns null if the ToolChoice is not a Tool.