Gemini Enterprise for Customer Experience v1beta API - Class McpToolOverride (1.0.0-beta06)

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 > McpToolOverride

Namespace

Google.Cloud.Ces.V1Beta

Assembly

Google.Cloud.Ces.V1Beta.dll

Constructors

McpToolOverride()

public McpToolOverride()

McpToolOverride(McpToolOverride)

public McpToolOverride(McpToolOverride other)
Parameter
Name Description
other 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
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
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
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
string