mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
Added usage details to /tools command. (#6849)
Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
This commit is contained in:
@@ -110,6 +110,7 @@ Slash commands provide meta-level control over the CLI itself.
|
|||||||
|
|
||||||
- [**`/tools`**](../tools/index.md)
|
- [**`/tools`**](../tools/index.md)
|
||||||
- **Description:** Display a list of tools that are currently available within Gemini CLI.
|
- **Description:** Display a list of tools that are currently available within Gemini CLI.
|
||||||
|
- **Usage:** `/tools [desc]`
|
||||||
- **Sub-commands:**
|
- **Sub-commands:**
|
||||||
- **`desc`** or **`descriptions`**:
|
- **`desc`** or **`descriptions`**:
|
||||||
- **Description:** Show detailed descriptions of each tool, including each tool's name with its full description as provided to the model.
|
- **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 = {
|
export const toolsCommand: SlashCommand = {
|
||||||
name: 'tools',
|
name: 'tools',
|
||||||
description: 'list available Gemini CLI tools',
|
description: 'list available Gemini CLI tools. Usage: /tools [desc]',
|
||||||
kind: CommandKind.BUILT_IN,
|
kind: CommandKind.BUILT_IN,
|
||||||
action: async (context: CommandContext, args?: string): Promise<void> => {
|
action: async (context: CommandContext, args?: string): Promise<void> => {
|
||||||
const subCommand = args?.trim();
|
const subCommand = args?.trim();
|
||||||
|
|||||||
Reference in New Issue
Block a user