# ToolConfigurationProperty

- Source: Generated code
- Type last changed: v2.235.0 · 15 Jan 2026

## Example

```ts
// 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

- `annotations`: any

- `description`: string

- `inputSchema`: any

- `instruction`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAIAgent.ToolInstructionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnAIAgent.ToolInstructionProperty.html)

- `outputFilters`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAIAgent.ToolOutputFilterProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnAIAgent.ToolOutputFilterProperty.html)[]

- `outputSchema`: any

- `overrideInputValues`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAIAgent.ToolOverrideInputValueProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnAIAgent.ToolOverrideInputValueProperty.html)[]

- `title`: string

- `toolId`: string

- `toolName`: string (required)

- `toolType`: string (required)

- `userInteractionConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAIAgent.UserInteractionConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnAIAgent.UserInteractionConfigurationProperty.html)
