Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/integrations/environment-toolset.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading