reset_sandbox_venv
Deletes the sandbox virtual environment.
Removes every package installed by run_code. A new venv is made on the next run. Only for the builtin sandbox.
- Tool name
- reset_sandbox_venv
- Group
- Terminal and Python sandbox
- Risk
- medium
- Needs approval
- never
- Approval rule
- No approval prompt.
- Allowed in scheduled jobs
- No
- Default
- on
Returns
A confirmation.
Example (made up for this page)
{}Sandbox venv reset.Side effects
- Deletes the sandbox venv folder.
How it can fail
| When | What the agent sees |
|---|---|
| External sandbox in use | A text saying reset only applies to builtin mode |
See also:Terminal and Python sandbox tools
Checked against the source at commit f4fd89f on 29 Oct 2026. Everything here is merged on the main branch; no release has been tagged yet. The source is private, so these pages are the public description.