interface SpecificToolChoiceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnPromptVersionPropsMixin.SpecificToolChoiceProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnPromptVersionPropsMixin_SpecificToolChoiceProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnPromptVersionPropsMixin.SpecificToolChoiceProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnPromptVersionPropsMixin.SpecificToolChoiceProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnPromptVersionPropsMixin » 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 { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const specificToolChoiceProperty: bedrock_mixins.CfnPromptVersionPropsMixin.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