1.0.0-beta10 (latest) 1.0.0-beta09

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

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

Overrides associated with a given tool in a Toolset.
This enables "pinning" or "overriding" of tool definitions from the external
dynamic server.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[McpToolOverride](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.McpToolOverride), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[McpToolOverride](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.McpToolOverride), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[McpToolOverride](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.McpToolOverride), [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

### McpToolOverride()

    public McpToolOverride()

### McpToolOverride(McpToolOverride)

    public McpToolOverride(McpToolOverride other)

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

## Properties

### DescriptionOverride

    public string DescriptionOverride { get; set; }

Optional. If present, this tool uses this description instead of the
original description from the server.

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

### NameOverride

    public string NameOverride { get; set; }

Optional. If present, this tool uses this name in the Agent instead of the
original name. This is primarily used as an alias if the MCP server offers
poorly named tools.

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

### Snapshot

    public McpToolDefinition Snapshot { get; set; }

Output only. If present, this tool is "Pinned" and uses the snapshot values
as fallbacks if the server becomes temporarily unavailable or if no
Override is present.

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

### Tool

    public string Tool { get; set; }

Required. The original name of the tool as it is emitted by the MCP server.

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