interface ToolConfigurationProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.aws_bedrock.CfnPrompt.ToolConfigurationProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnPrompt_ToolConfigurationProperty | 
|  Java | software.amazon.awscdk.services.bedrock.CfnPrompt.ToolConfigurationProperty | 
|  Python | aws_cdk.aws_bedrock.CfnPrompt.ToolConfigurationProperty | 
|  TypeScript | aws-cdk-lib»aws_bedrock»CfnPrompt»ToolConfigurationProperty | 
Configuration information for the tools that you pass to a model.
For more information, see Tool use (function calling) 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 any: any;
declare const auto: any;
declare const json: any;
const toolConfigurationProperty: bedrock.CfnPrompt.ToolConfigurationProperty = {
  tools: [{
    cachePoint: {
      type: 'type',
    },
    toolSpec: {
      inputSchema: {
        json: json,
      },
      name: 'name',
      // the properties below are optional
      description: 'description',
    },
  }],
  // the properties below are optional
  toolChoice: {
    any: any,
    auto: auto,
    tool: {
      name: 'name',
    },
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| tools | IResolvable | (IResolvable | Tool)[] | An array of tools that you want to pass to a model. | 
| tool | IResolvable | Tool | If supported by model, forces the model to request a tool. | 
tools
Type:
IResolvable | (IResolvable | Tool)[]
An array of tools that you want to pass to a model.
toolChoice?
Type:
IResolvable | Tool
(optional)
If supported by model, forces the model to request a tool.
