execute_python
Execute Python code in a secure E2B sandbox to test scripts, manage files, and install packages without affecting your local environment.
Instructions
Execute Python code in an E2B sandbox environment
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python code to execute | |
| sandbox_id | No | Optional sandbox ID to use specific sandbox |