summaryrefslogtreecommitdiff
path: root/docs/cli/configuration.md
diff options
context:
space:
mode:
authoranj-s <[email protected]>2025-07-15 10:22:31 -0700
committerGitHub <[email protected]>2025-07-15 17:22:31 +0000
commitd3ee9de3c3b976ad45fe1a13eb49271d17a32e37 (patch)
tree10c9a2dbe37eb0602a716d92aea2290b61d9310b /docs/cli/configuration.md
parent7effdad3e27d4e6198249d3dba1bc52e89b76462 (diff)
Enable tool summarization only when explicitly set in settings.json (#4140)
Co-authored-by: matt korwel <[email protected]>
Diffstat (limited to 'docs/cli/configuration.md')
-rw-r--r--docs/cli/configuration.md20
1 files changed, 19 insertions, 1 deletions
diff --git a/docs/cli/configuration.md b/docs/cli/configuration.md
index f200c5df..e6a9ee72 100644
--- a/docs/cli/configuration.md
+++ b/docs/cli/configuration.md
@@ -206,6 +206,19 @@ In addition to a project settings file, a project's `.gemini` directory can cont
"maxSessionTurns": 10
```
+- **`summarizeToolOutput`** (object):
+ - **Description:** Enables or disables the summarization of tool output. You can specify the token budget for the summarization using the `tokenBudget` setting.
+ - Note: Currently only the `run_shell_command` tool is supported.
+ - **Default:** `{}` (Disabled by default)
+ - **Example:**
+ ```json
+ "summarizeToolOutput": {
+ "run_shell_command": {
+ "tokenBudget": 2000
+ }
+ }
+ ```
+
### Example `settings.json`:
```json
@@ -232,7 +245,12 @@ In addition to a project settings file, a project's `.gemini` directory can cont
"usageStatisticsEnabled": true,
"hideTips": false,
"hideBanner": false,
- "maxSessionTurns": 10
+ "maxSessionTurns": 10,
+ "summarizeToolOutput": {
+ "run_shell_command": {
+ "tokenBudget": 100
+ }
+ }
}
```