execute_ipython_cell
Run Python code in a stateful IPython kernel within a Docker container. Maintain variables, imports, and definitions across executions for iterative workflows. Supports async code with 'await' and sequential executions with shared kernel state.
Instructions
Execute Python code in a stateful IPython kernel within a Docker container.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | Python code to execute in the IPython kernel | |
timeout | No | Maximum execution time in seconds before the kernel is interrupted |