ToolProperty Struct
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
ts
// 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 toolProperty: bedrock.CfnPromptVersion.ToolProperty = {
cachePoint: {
type: 'type',
},
toolSpec: {
inputSchema: {
json: json,
},
name: 'name',
// the properties below are optional
description: 'description',
},
};
Properties
cachePointoptionalIResolvable | CfnPromptVersion.CachePointBlockPropertycache_pointoptionaltyping.Union[IResolvable, CachePointBlockProperty]cachePointoptionalIResolvableCachePointoptionalIResolvableCachePointoptionalinterface{}#CachePoint to include in the tool configuration.
toolSpecoptionalIResolvable | CfnPromptVersion.ToolSpecificationPropertytool_specoptionaltyping.Union[IResolvable, ToolSpecificationProperty]toolSpecoptionalIResolvableToolSpecoptionalIResolvableToolSpecoptionalinterface{}#The specfication for the tool.