Gemini Enterprise for Customer Experience v1 API - Class McpTool (1.0.0-beta01)

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

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class McpTool.

An MCP tool. See https://modelcontextprotocol.io/specification/2025-06-18/server/tools for more details.

Inheritance

object > McpTool

Namespace

Google.Cloud.Ces.V1

Assembly

Google.Cloud.Ces.V1.dll

Constructors

McpTool()

public McpTool()

McpTool(McpTool)

public McpTool(McpTool other)
Parameter
Name Description
other McpTool

Properties

ApiAuthentication

public ApiAuthentication ApiAuthentication { get; set; }

Optional. Authentication information required to execute the 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
ApiAuthentication

Description

public string Description { get; set; }

Optional. The description of the MCP tool.

Property Value
Type Description
string

InputSchema

public Schema InputSchema { get; set; }

Optional. The schema of the input arguments of the MCP tool.

Property Value
Type Description
Schema

Name

public string Name { get; set; }

Required. The name of the MCP tool.

Property Value
Type Description
string

OutputSchema

public Schema OutputSchema { get; set; }

Optional. The schema of the output arguments of the MCP tool.

Property Value
Type Description
Schema

ServerAddress

public string ServerAddress { get; set; }

Required. The server address of the MCP server, e.g., "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. This is the same as the server_address in the McpToolset. See https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http for more details.

Property Value
Type Description
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
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
TlsConfig