Interface CfnPromptPropsMixin.ISpecificToolChoiceProperty
The model must request a specific tool.
Namespace: Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnPromptPropsMixin.ISpecificToolChoiceProperty
Syntax (vb)
Public Interface CfnPromptPropsMixin.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
Properties
| Name | The name of the tool that the model must request. |
Properties
Name
The name of the tool that the model must request.
string? Name { get; }