AWS::Bedrock::Prompt ToolChoice - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Bedrock::Prompt ToolChoice

Determines which tools the model should request in a call to Converse or ConverseStream. For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Any" : Json, "Auto" : Json, "Tool" : SpecificToolChoice }

YAML

Any: Json Auto: Json Tool: SpecificToolChoice

Properties

Any

The model must request at least one tool (no text is generated).

Required: No

Type: Json

Update requires: No interruption

Auto

(Default). The Model automatically decides if a tool should be called or whether to generate text instead.

Required: No

Type: Json

Update requires: No interruption

Tool

The Model must request the specified tool. Only supported by Anthropic Claude 3 and Amazon Nova models.

Required: No

Type: SpecificToolChoice

Update requires: No interruption