diff --git a/docs/cli/commands.md b/docs/cli/commands.md index b28b2dd3..beeecb88 100644 --- a/docs/cli/commands.md +++ b/docs/cli/commands.md @@ -110,6 +110,7 @@ Slash commands provide meta-level control over the CLI itself. - [**`/tools`**](../tools/index.md) - **Description:** Display a list of tools that are currently available within Gemini CLI. + - **Usage:** `/tools [desc]` - **Sub-commands:** - **`desc`** or **`descriptions`**: - **Description:** Show detailed descriptions of each tool, including each tool's name with its full description as provided to the model. diff --git a/packages/cli/src/ui/commands/toolsCommand.ts b/packages/cli/src/ui/commands/toolsCommand.ts index 31ff8c27..1f4681ea 100644 --- a/packages/cli/src/ui/commands/toolsCommand.ts +++ b/packages/cli/src/ui/commands/toolsCommand.ts @@ -13,7 +13,7 @@ import { MessageType } from '../types.js'; export const toolsCommand: SlashCommand = { name: 'tools', - description: 'list available Gemini CLI tools', + description: 'list available Gemini CLI tools. Usage: /tools [desc]', kind: CommandKind.BUILT_IN, action: async (context: CommandContext, args?: string): Promise => { const subCommand = args?.trim();