Document r slash command (#6724)

This commit is contained in:
Emma Youndtsmith
2026-01-26 17:29:09 -06:00
committed by GitHub
parent 57fbffa7ad
commit b662d0d84d
3 changed files with 15 additions and 2 deletions
@@ -237,7 +237,7 @@ These variables control how goose handles [tool execution](/docs/guides/goose-pe
| `GOOSE_TOOLSHIM_OLLAMA_MODEL` | Specifies the model for [tool call interpretation](/docs/experimental/ollama) | Model name (e.g. llama3.2, qwen2.5) | System default |
| `GOOSE_CLI_MIN_PRIORITY` | Controls verbosity of [tool output](/docs/guides/managing-tools/adjust-tool-output) | Float between 0.0 and 1.0 | 0.0 |
| `GOOSE_CLI_TOOL_PARAMS_TRUNCATION_MAX_LENGTH` | Maximum length for tool parameter values before truncation in CLI output (not in debug mode) | Integer | 40 |
| `GOOSE_DEBUG` | Enables debug mode to show full tool parameters without truncation | "1", "true" (case insensitive) to enable | false |
| `GOOSE_DEBUG` | Enables debug mode to show full tool parameters without truncation. Can also be toggled during a session using the `/r` [slash command](/docs/guides/goose-cli-commands#slash-commands) | "1", "true" (case insensitive) to enable | false |
| `GOOSE_SEARCH_PATHS` | Additional directories to search for executables when running extensions | JSON array of paths (e.g., `["/usr/local/bin", "~/custom/bin"]`) | System PATH only | No |
**Examples**
@@ -665,6 +665,7 @@ Once you're in an interactive session (via `goose session` or `goose run --inter
- **`/prompts [--extension <name>]`** - List all available prompts, optionally filtered by extension
- **`/recipe [filepath]`** - Generate a recipe from the current conversation and save it to the specified filepath (must end with .yaml). If no filepath is provided, it will be saved to ./recipe.yaml
- **`/compact`** - Compact and summarize the current conversation to reduce context length while preserving key information
- **`/r`** - Toggle full tool output display (show complete tool parameters without truncation)
- **`/t`** - Toggle between `light`, `dark`, and `ansi` themes. [More info](#themes).
- **`/t <name>`** - Set theme directly (light, dark, ansi)
@@ -83,5 +83,17 @@ Next, choose one of the available modes:
- Shows all tool outputs
- Example: Shell command outputs
- Most verbose level
### Toggle Parameter Truncation
During an active session, use the `/r` slash command to toggle whether tool parameters are truncated or shown in full:
```sh
Context: ●○○○○○○○○○ 5% (9695/200000 tokens)
( O)> /r
✓ Full tool output enabled - tool parameters will no longer be truncated
```
This is useful when you need to see complete file paths, URLs, or command arguments. Type `/r` again to return to truncated output.
</TabItem>
</Tabs>
</Tabs>