NAME
Google::Cloud::Ces::V1beta::McpTool - Compiled Protocol Buffers messages for google/cloud/ces/v1beta/mcp_tool.proto
SYNOPSIS
use Google::Cloud::Ces::V1beta::McpTool;
my $msg = Google::Cloud::Ces::V1beta::McpTool::McpTool->new({
name => $name,
name_override => $name_override,
description => $description,
input_schema => $input_schema,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Ces::V1beta::McpTool::McpTool->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/ces/v1beta/mcp_tool.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Ces::V1beta::McpTool::McpTool
An MCP tool. See https://modelcontextprotocol.io/specification/2025-06-18/server/tools for more details.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the MCP tool.
$msg->name_override()/$msg->name_override($value)Type:
StringOptional. The name override of the MCP tool. This is populated if the name was overridden by a Toolset override.
$msg->description()/$msg->description($value)Type:
StringOptional. The description of the MCP tool.
$msg->input_schema()/$msg->input_schema($value)Type:
Message(Google::Cloud::Ces::V1beta::Schema::Schema)Optional. The schema of the input arguments of the MCP tool.
$msg->output_schema()/$msg->output_schema($value)Type:
Message(Google::Cloud::Ces::V1beta::Schema::Schema)Optional. The schema of the output arguments of the MCP tool.
$msg->server_address()/$msg->server_address($value)Type:
StringRequired. 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.
$msg->api_authentication()/$msg->api_authentication($value)Type:
Message(Google::Cloud::Ces::V1beta::Auth::ApiAuthentication)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.
$msg->tls_config()/$msg->tls_config($value)Type:
Message(Google::Cloud::Ces::V1beta::Common::TlsConfig)Optional. The TLS configuration. Includes the custom server certificates that the client should trust.
$msg->service_directory_config()/$msg->service_directory_config($value)Type:
Message(Google::Cloud::Ces::V1beta::Common::ServiceDirectoryConfig)Optional. Service Directory configuration for VPC-SC, used to resolve service names within a perimeter.
$msg->custom_headers()/$msg->custom_headers($value)Type:
Message(Google::Cloud::Ces::V1beta::McpTool::McpTool::CustomHeadersEntry)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.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Ces::V1beta::McpTool::State)Output only. The dynamic availability state of the tool on the external server.
Enum: McpTool::State
STATE_UNSPECIFIED=>0ACTIVE=>1INACTIVE=>2STALE=>3
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Ces::V1beta::McpTool::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.