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