SpecificToolChoiceProperty Struct
The model must request a specific tool.
For example, {"tool" : {"name" : "Your tool name"}} . For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide
This field is only supported by Anthropic Claude 3 models.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const specificToolChoiceProperty: bedrock.CfnPrompt.SpecificToolChoiceProperty = {
name: 'name',
};
Properties
The name of the tool that the model must request.