Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::McpToolOverride.
Overrides associated with a given tool in a Toolset. This enables "pinning" or "overriding" of tool definitions from the external dynamic server.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#description_override
def description_override() -> ::String
Returns
- (::String) — Optional. If present, this tool uses this description instead of the original description from the server.
#description_override=
def description_override=(value) -> ::String
Parameter
- value (::String) — Optional. If present, this tool uses this description instead of the original description from the server.
Returns
- (::String) — Optional. If present, this tool uses this description instead of the original description from the server.
#name_override
def name_override() -> ::String
Returns
- (::String) — 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.
#name_override=
def name_override=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.
#snapshot
def snapshot() -> ::Google::Cloud::Ces::V1beta::McpToolDefinition
Returns
- (::Google::Cloud::Ces::V1beta::McpToolDefinition) — 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.
#tool
def tool() -> ::String
Returns
- (::String) — Required. The original name of the tool as it is emitted by the MCP server.
#tool=
def tool=(value) -> ::String
Parameter
- value (::String) — Required. The original name of the tool as it is emitted by the MCP server.
Returns
- (::String) — Required. The original name of the tool as it is emitted by the MCP server.