AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
A reference to a tool in the tool configuration. Used with ToolAdditionBlock
and ToolRemovalBlock to identify which tool to add or remove mid-conversation.
Namespace: Amazon.BedrockRuntime.Model
Assembly: AWSSDK.BedrockRuntime.dll
Version: 3.x.y.z
public class ToolReference
The ToolReference type exposes the following members
| Name | Description | |
|---|---|---|
|
ToolReference() |
| Name | Type | Description | |
|---|---|---|---|
|
Name | System.String |
Gets and sets the property Name. The name of the tool. Must match the name of a tool declared in the top-level tool configuration. |
|
ServerName | System.String |
Gets and sets the property ServerName. The name of the MCP server that provides the tool. Required when referencing an MCP tool. |
|
Type | System.String |
Gets and sets the property Type. The type of tool reference. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer