Class CfnPromptVersion.ToolProperty
Information about a tool that you can use with the Converse API.
Inheritance
Implements
Namespace: Amazon.CDK.AwsBedrock
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ToolProperty : Object, CfnPromptVersion.IToolProperty
Syntax (vb)
Public Class ToolProperty
Inherits Object
Implements CfnPromptVersion.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.Aws_bedrock;
var json;
var toolProperty = new ToolProperty {
CachePoint = new CachePointBlockProperty {
Type = "type"
},
ToolSpec = new ToolSpecificationProperty {
InputSchema = new ToolInputSchemaProperty {
Json = json
},
Name = "name",
// the properties below are optional
Description = "description"
}
};
Synopsis
Constructors
Tool |
Properties
Cache |
Creates a cache checkpoint within a tool designation. |
Tool |
The specfication for the tool. |
Constructors
ToolProperty()
public ToolProperty()
Properties
CachePoint
Creates a cache checkpoint within a tool designation.
public object CachePoint { get; set; }
Property Value
System.
Remarks
ToolSpec
The specfication for the tool.
public object ToolSpec { get; set; }
Property Value
System.