1.0.0-beta09 (latest) 1.0.0-beta08

    public sealed class McpToolset : IMessage<McpToolset>, IEquatable<McpToolset>, IDeepCloneable<McpToolset>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class McpToolset.

A toolset that contains a list of tools that are offered by the MCP
server.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> McpToolset

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[McpToolset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.McpToolset), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[McpToolset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.McpToolset), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[McpToolset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.McpToolset), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Ces.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta)

## Assembly

Google.Cloud.Ces.V1Beta.dll

## Constructors

### McpToolset()

    public McpToolset()

### McpToolset(McpToolset)

    public McpToolset(McpToolset other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.McpToolset` |

## Properties

### ApiAuthentication

    public ApiAuthentication ApiAuthentication { get; set; }

Optional. Authentication information required to access tools and execute a
tool against the MCP server. For bearer token authentication, the token
applies only to tool execution, not to listing tools. This requires that
tools can be listed without authentication.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.ApiAuthentication` |   |

### CustomHeaders

    public MapField<string, string> CustomHeaders { get; }

Optional. The custom headers to send in the request to the MCP server. The
values must be in the format `$context.variables.<name_of_variable>` and
can be set in the session variables. See
<https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection>
for more details.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### ServerAddress

    public string ServerAddress { get; set; }

Required. The address of the MCP server, for example,
"<https://example.com/mcp/>". If the server is built with the MCP SDK, the
url should be suffixed with
"/mcp/". Only Streamable HTTP transport based servers are supported. See
<https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http>
for more details.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ServiceDirectoryConfig

    public ServiceDirectoryConfig ServiceDirectoryConfig { get; set; }

Optional. Service Directory configuration for VPC-SC, used to resolve
service names within a perimeter.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.ServiceDirectoryConfig` |   |

### TlsConfig

    public TlsConfig TlsConfig { get; set; }

Optional. The TLS configuration. Includes the custom server certificates
that the client should trust.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.TlsConfig` |   |

### ToolOverrides

    public RepeatedField<McpToolOverride> ToolOverrides { get; }

Optional. Overrides for individual tools within this toolset.
This allows overriding specific details like descriptions, names,
or pinning the tools' states so they aren't fully dynamic.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.McpToolOverride` |   |