Interface CfnPromptVersion.ToolSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPromptVersion.ToolSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnPromptVersion
@Stability(Stable)
public static interface CfnPromptVersion.ToolSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
The specification for the tool.
For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide.
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.*;
Object json;
ToolSpecificationProperty toolSpecificationProperty = ToolSpecificationProperty.builder()
.inputSchema(ToolInputSchemaProperty.builder()
.json(json)
.build())
.name("name")
// the properties below are optional
.description("description")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPromptVersion.ToolSpecificationPropertystatic final classAn implementation forCfnPromptVersion.ToolSpecificationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInputSchema
The input schema for the tool in JSON format.Returns union: either
IResolvableorCfnPromptVersion.ToolInputSchemaProperty- See Also:
-
getName
The name for the tool.- See Also:
-
getDescription
The description for the tool.- See Also:
-
builder
-