From 2e69d922cd59ebe7a92d737ec47e1a7c3cf27bad Mon Sep 17 00:00:00 2001 From: adk-bot Date: Fri, 8 May 2026 21:31:36 +0000 Subject: [PATCH] Update ADK doc according to issue #1743 - 1 --- docs/integrations/environment-toolset.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/integrations/environment-toolset.md b/docs/integrations/environment-toolset.md index 54139b8ba5..eb80789474 100644 --- a/docs/integrations/environment-toolset.md +++ b/docs/integrations/environment-toolset.md @@ -30,6 +30,8 @@ implementation for use with the Environment Toolset framework. Enable local environment interactions by adding the ***EnvironmentToolset*** with a ***LocalEnvironment*** instance to your agent's tools. +You can use the optional `max_output_chars` parameter when initializing `EnvironmentToolset` to limit the maximum number of characters returned from file reads or command executions. This helps prevent large file contents or command outputs from exceeding the agent's context window limit. + ```python from google.adk import Agent from google.adk.environment import LocalEnvironment