From 2446647b19b7a34087ff83e99e317f1469627bd3 Mon Sep 17 00:00:00 2001 From: 14Emanuel Date: Sun, 19 Jul 2026 17:44:52 +0300 Subject: [PATCH] docs: update Environment Toolset file operations descriptions --- docs/integrations/environment-toolset.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/integrations/environment-toolset.md b/docs/integrations/environment-toolset.md index 3ebf9cd17d..f2f3c01a0c 100644 --- a/docs/integrations/environment-toolset.md +++ b/docs/integrations/environment-toolset.md @@ -115,11 +115,11 @@ local_environment=LocalEnvironment( The ***LocalEnvironment*** implementation includes the following tools an agent can run within a local compute environment: -- ***ReadFile***: Read an existing text file based on agent instructions. -- ***EditFile***: Edit an existing text file based on agent instructions. -- ***WriteFile***: Create a new text file based on agent instructions. +- ***ReadFile***: Read an existing text file based on agent instructions. It supports reading specific line ranges (start_line, end_line) to manage context window limits. +- ***EditFile***: Perform surgical text replacements in an existing file. It requires an exact old_string that appears exactly once in the file, replacing it with a new_string. +- ***WriteFile***: Create or overwrite a text file based on agent instructions. Use this for new files or full rewrites. - ***Execute***: Execute terminal commands, including running installers, - shell scripts, and program code, based on agent instructions. + shell scripts, and program code, based on agent instructions. It is recommended to use ReadFile instead of shell commands (like cat, head, tail) for file reading. !!! danger "Danger: Potential data loss, code execution"