From 0075b4f118b23ce5038e9f4e7f0dfecbff298be1 Mon Sep 17 00:00:00 2001 From: Tommaso Sciortino Date: Wed, 12 Nov 2025 12:45:18 -0800 Subject: [PATCH] Always show the tool internal name in /tools (#12964) --- packages/cli/src/ui/components/views/ToolsList.tsx | 3 +-- .../components/views/__snapshots__/ToolsList.test.tsx.snap | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/cli/src/ui/components/views/ToolsList.tsx b/packages/cli/src/ui/components/views/ToolsList.tsx index 9326f68942..d3e1960955 100644 --- a/packages/cli/src/ui/components/views/ToolsList.tsx +++ b/packages/cli/src/ui/components/views/ToolsList.tsx @@ -32,8 +32,7 @@ export const ToolsList: React.FC = ({ {' '}- - {tool.displayName} - {showDescriptions ? ` (${tool.name})` : ''} + {tool.displayName} ({tool.name}) {showDescriptions && tool.description && ( > renders correctly with no tools 1`] = ` exports[` > renders correctly without descriptions 1`] = ` "Available Gemini CLI tools: - - Test Tool One - - Test Tool Two - - Test Tool Three + - Test Tool One (test-tool-one) + - Test Tool Two (test-tool-two) + - Test Tool Three (test-tool-three) " `;