Add support for /mcp schema to show full parameter schema as JSON (#1050)

Outputs a raw JSON version of the parameter names and descriptions as provided to the model, plus minor formatting adjustments to /mcp desc.
This commit is contained in:
Billy Biggs
2025-06-15 11:25:40 -07:00
committed by GitHub
parent 123ad20e9b
commit 6959663646
3 changed files with 126 additions and 25 deletions

View File

@@ -27,6 +27,9 @@ Slash commands provide meta-level control over the CLI itself. They can typicall
- **`nodesc`** or **`nodescriptions`**:
- **Description:** Hides tool descriptions, showing only the tool names.
- **Action:** Displays a compact list with only tool names.
- **`schema`**:
- **Description:** Shows full schema of tool parameters.
- **Action:** Displays the full JSON schema for the tool's configured parameters.
- **Keyboard Shortcut:** Press **Ctrl+T** at any time to toggle between showing and hiding tool descriptions.
- **`/clear`** (Shortcut: **Ctrl+L**)