Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Clarify Bash working-directory scope

Gregor Žunič216687e4457a
diff --git a/examples/integrations/toolsets-for-claude/README.md b/examples/integrations/toolsets-for-claude/README.md
index a4281a6fe..d127f5f18 100644
--- a/examples/integrations/toolsets-for-claude/README.md
+++ b/examples/integrations/toolsets-for-claude/README.md
@@ -213,9 +213,10 @@ bash = Bash(
)
```
-The working directory is a boundary for generated files, not an operating
-system sandbox. Run the SDK process inside your normal container or sandbox
-when tasks may contain untrusted instructions.
+`output_dir` sets the default working directory. Commands can access other files
+available to the process; this is not an operating-system sandbox. Run the SDK
+process inside your normal container or sandbox when tasks may contain untrusted
+instructions.
## Choosing tools
diff --git a/skills/open-source/references/integrations.md b/skills/open-source/references/integrations.md
index 51729ade5..100194fea 100644
--- a/skills/open-source/references/integrations.md
+++ b/skills/open-source/references/integrations.md
@@ -112,8 +112,8 @@ bash = Bash(output_dir='outputs', timeout_seconds=120, max_output_bytes=50_000)
```
Bash strips ambient credentials from child commands and limits execution time
-and returned output. Its working directory is a file boundary, not an operating
-system sandbox. Run the SDK process in your normal container or sandbox for
+and returned output. Its working directory is the default location for commands, which can access
+other files available to the process; it is not an operating-system sandbox. Run the SDK process in your normal container or sandbox for
untrusted tasks.
For a remote browser, upload paths must already exist on the browser host.