interface ToolConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Wisdom.CfnAIAgent.ToolConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awswisdom#CfnAIAgent_ToolConfigurationProperty |
Java | software.amazon.awscdk.services.wisdom.CfnAIAgent.ToolConfigurationProperty |
Python | aws_cdk.aws_wisdom.CfnAIAgent.ToolConfigurationProperty |
TypeScript | aws-cdk-lib » aws_wisdom » CfnAIAgent » ToolConfigurationProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as wisdom } from 'aws-cdk-lib';
declare const annotations: any;
declare const inputSchema: any;
declare const outputSchema: any;
const toolConfigurationProperty: wisdom.CfnAIAgent.ToolConfigurationProperty = {
toolName: 'toolName',
toolType: 'toolType',
// the properties below are optional
annotations: annotations,
description: 'description',
inputSchema: inputSchema,
instruction: {
examples: ['examples'],
instruction: 'instruction',
},
outputFilters: [{
jsonPath: 'jsonPath',
// the properties below are optional
outputConfiguration: {
outputVariableNameOverride: 'outputVariableNameOverride',
sessionDataNamespace: 'sessionDataNamespace',
},
}],
outputSchema: outputSchema,
overrideInputValues: [{
jsonPath: 'jsonPath',
value: {
constant: {
type: 'type',
value: 'value',
},
},
}],
title: 'title',
toolId: 'toolId',
userInteractionConfiguration: {
isUserConfirmationRequired: false,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| tool | string | |
| tool | string | |
| annotations? | any | |
| description? | string | |
| input | any | |
| instruction? | IResolvable | Tool | |
| output | IResolvable | (IResolvable | Tool)[] | |
| output | any | |
| override | IResolvable | (IResolvable | Tool)[] | |
| title? | string | |
| tool | string | |
| user | IResolvable | User |
toolName
Type:
string
toolType
Type:
string
annotations?
Type:
any
(optional)
description?
Type:
string
(optional)
inputSchema?
Type:
any
(optional)
instruction?
Type:
IResolvable | Tool
(optional)
outputFilters?
Type:
IResolvable | (IResolvable | Tool)[]
(optional)
outputSchema?
Type:
any
(optional)
overrideInputValues?
Type:
IResolvable | (IResolvable | Tool)[]
(optional)
title?
Type:
string
(optional)
toolId?
Type:
string
(optional)
userInteractionConfiguration?
Type:
IResolvable | User
(optional)

.NET
Go
Java
Python
TypeScript