Added usage details to /tools command. (#6849)

Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
This commit is contained in:
Pavel Simakov 2025-08-26 14:07:12 -04:00 committed by GitHub
parent cf9de689c3
commit bdd63ce3e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -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.

View file

@ -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<void> => {
const subCommand = args?.trim();