mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 14:10:37 -07:00
docs(mcp): standardize mcp tool fqn documentation (#21664)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user