interface ToolSpecificationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_bedrock.CfnPrompt.ToolSpecificationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnPrompt_ToolSpecificationProperty |
![]() | software.amazon.awscdk.services.bedrock.CfnPrompt.ToolSpecificationProperty |
![]() | aws_cdk.aws_bedrock.CfnPrompt.ToolSpecificationProperty |
![]() | aws-cdk-lib » aws_bedrock » CfnPrompt » ToolSpecificationProperty |
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 { aws_bedrock as bedrock } from 'aws-cdk-lib';
declare const json: any;
const toolSpecificationProperty: bedrock.CfnPrompt.ToolSpecificationProperty = {
inputSchema: {
json: json,
},
name: 'name',
// the properties below are optional
description: 'description',
};
Properties
Name | Type | Description |
---|---|---|
input | IResolvable | Tool | The input schema for the tool in JSON format. |
name | string | The name for the tool. |
description? | string | The description for the tool. |
inputSchema
Type:
IResolvable
|
Tool
The input schema for the tool in JSON format.
name
Type:
string
The name for the tool.
description?
Type:
string
(optional)
The description for the tool.