Class CfnPromptVersionPropsMixin.SpecificToolChoiceProperty
The model must request a specific tool.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnPromptVersionPropsMixin.SpecificToolChoiceProperty : CfnPromptVersionPropsMixin.ISpecificToolChoiceProperty
Syntax (vb)
Public Class CfnPromptVersionPropsMixin.SpecificToolChoiceProperty Implements CfnPromptVersionPropsMixin.ISpecificToolChoiceProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins;
var specificToolChoiceProperty = new SpecificToolChoiceProperty {
Name = "name"
};
Synopsis
Constructors
| SpecificToolChoiceProperty() | The model must request a specific tool. |
Properties
| Name | The name of the tool that the model must request. |
Constructors
SpecificToolChoiceProperty()
The model must request a specific tool.
public SpecificToolChoiceProperty()
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins;
var specificToolChoiceProperty = new SpecificToolChoiceProperty {
Name = "name"
};
Properties
Name
The name of the tool that the model must request.
public string? Name { get; set; }