AWS SDK Version 4 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.BedrockRuntime.Model.ToolReference

Namespace: Amazon.BedrockRuntime.Model
Assembly: AWSSDK.BedrockRuntime.dll
Version: 3.x.y.z

Syntax

C#
public class ToolReference

The ToolReference type exposes the following members

Constructors

NameDescription
Public Method ToolReference()

Properties

NameTypeDescription
Public Property 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.

Public Property 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.

Public Property Type System.String

Gets and sets the property Type.

The type of tool reference.

Version Information

.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