AWS::Bedrock::Prompt ToolConfiguration
Configuration information for the tools that you pass to a model. For more information, see Tool use (function calling) in the Amazon Bedrock User Guide.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "ToolChoice" :
ToolChoice
, "Tools" :[ Tool, ... ]
}
YAML
ToolChoice:
ToolChoice
Tools:- Tool
Properties
ToolChoice
-
If supported by model, forces the model to request a tool.
Required: No
Type: ToolChoice
Update requires: No interruption
Tools
-
An array of tools that you want to pass to a model.
Required: Yes
Type: Array of Tool
Minimum:
1
Update requires: No interruption