Add support for showing descriptions of CLI tools (#1052)

Adds support for /tools desc to show the full description of tools as provided to the model.
This commit is contained in:
Billy Biggs
2025-06-15 07:56:07 -07:00
committed by GitHub
parent 7352cb403c
commit da09431be9
3 changed files with 103 additions and 17 deletions

View File

@@ -61,6 +61,13 @@ Slash commands provide meta-level control over the CLI itself. They can typicall
- **Description:** Displays a list of all the tools that are currently available to the model.
- **Action:** Outputs a list of the available tools.
- **Sub-commands:**
- **`desc`** or **`descriptions`**:
- **Description:** Shows detailed descriptions of each tool.
- **Action:** Displays each tool's name with its full description as provided to the model.
- **`nodesc`** or **`nodescriptions`**:
- **Description:** Hides tool descriptions, showing only the tool names.
- **Action:** Displays a compact list with only tool names.
- **`/compress`**