Added usage details to /tools command. (#6849)
Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
This commit is contained in:
parent
cf9de689c3
commit
bdd63ce3e8
2 changed files with 2 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue