interface ToolProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnPromptPropsMixin.ToolProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnPromptPropsMixin_ToolProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnPromptPropsMixin.ToolProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnPromptPropsMixin.ToolProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnPromptPropsMixin » ToolProperty |
Information about a tool that you can use with the Converse API.
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 { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
declare const json: any;
const toolProperty: bedrock_mixins.CfnPromptPropsMixin.ToolProperty = {
cachePoint: {
type: 'type',
},
toolSpec: {
description: 'description',
inputSchema: {
json: json,
},
name: 'name',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| cache | IResolvable | Cache | CachePoint to include in the tool configuration. |
| tool | IResolvable | Tool | The specfication for the tool. |
cachePoint?
Type:
IResolvable | Cache
(optional)
CachePoint to include in the tool configuration.
toolSpec?
Type:
IResolvable | Tool
(optional)
The specfication for the tool.

.NET
Go
Java
Python
TypeScript