Interface CfnPromptVersion.SpecificToolChoiceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPromptVersion.SpecificToolChoiceProperty.Jsii$Proxy
- Enclosing class:
CfnPromptVersion
@Stability(Stable)
public static interface CfnPromptVersion.SpecificToolChoiceProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.bedrock.*;
SpecificToolChoiceProperty specificToolChoiceProperty = SpecificToolChoiceProperty.builder()
.name("name")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPromptVersion.SpecificToolChoicePropertystatic final classAn implementation forCfnPromptVersion.SpecificToolChoiceProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the tool that the model must request.- See Also:
-
builder
-