docs(mcp): standardize mcp tool fqn documentation (#21664)

This commit is contained in:
Abhi
2026-03-10 15:13:00 -04:00
committed by GitHub
parent b404fc02e7
commit 0d60d68cf9
7 changed files with 70 additions and 30 deletions

View File

@@ -457,6 +457,11 @@ export async function loadPoliciesFromToml(
const mcpName = rule.mcpName;
if (mcpName) {
// TODO(mcp): Decouple mcpName rules from FQN string parsing
// to support underscores in server aliases natively. Leaving
// mcpName and toolName separate here and relying on metadata
// during policy evaluation will avoid underscore splitting bugs.
// See: https://github.com/google-gemini/gemini-cli/issues/21727
effectiveToolName = formatMcpToolName(
mcpName,
effectiveToolName,