Class CfnPromptPropsMixin.ToolProperty
Information about a tool that you can use with the Converse API.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Bedrock
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnPromptPropsMixin.ToolProperty : CfnPromptPropsMixin.IToolProperty
Syntax (vb)
Public Class CfnPromptPropsMixin.ToolProperty Implements CfnPromptPropsMixin.IToolProperty
Remarks
For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Bedrock;
var json;
var toolProperty = new ToolProperty {
CachePoint = new CachePointBlockProperty {
Type = "type"
},
ToolSpec = new ToolSpecificationProperty {
Description = "description",
InputSchema = new ToolInputSchemaProperty {
Json = json
},
Name = "name"
}
};
Synopsis
Constructors
| ToolProperty() | Information about a tool that you can use with the Converse API. |
Properties
| CachePoint | CachePoint to include in the tool configuration. |
| ToolSpec | The specfication for the tool. |
Constructors
ToolProperty()
Information about a tool that you can use with the Converse API.
public ToolProperty()
Remarks
For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Bedrock;
var json;
var toolProperty = new ToolProperty {
CachePoint = new CachePointBlockProperty {
Type = "type"
},
ToolSpec = new ToolSpecificationProperty {
Description = "description",
InputSchema = new ToolInputSchemaProperty {
Json = json
},
Name = "name"
}
};
Properties
CachePoint
CachePoint to include in the tool configuration.
public object? CachePoint { get; set; }
Property Value
Remarks
ToolSpec
The specfication for the tool.
public object? ToolSpec { get; set; }