McpToolOverride(mapping=None, *, ignore_unknown_fields=False, **kwargs)Overrides associated with a given tool in a Toolset. This enables "pinning" or "overriding" of tool definitions from the external dynamic server.
Attributes |
|
|---|---|
| Name | Description |
tool |
str
Required. The original name of the tool as it is emitted by the MCP server. |
name_override |
str
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. |
description_override |
str
Optional. If present, this tool uses this description instead of the original description from the server. |
snapshot |
google.cloud.ces_v1beta.types.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. |