interface SpecificToolChoiceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnPromptPropsMixin.SpecificToolChoiceProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnPromptPropsMixin_SpecificToolChoiceProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnPromptPropsMixin.SpecificToolChoiceProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnPromptPropsMixin.SpecificToolChoiceProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » CfnPromptPropsMixin » SpecificToolChoiceProperty |
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
// 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/cfn-property-mixins';
const specificToolChoiceProperty: bedrock.CfnPromptPropsMixin.SpecificToolChoiceProperty = {
name: 'name',
};
Properties
| Name | Type | Description |
|---|---|---|
| name? | string | The name of the tool that the model must request. |
name?
Type:
string
(optional)
The name of the tool that the model must request.

.NET
Go
Java
Python
TypeScript