Rocky Run Python
rocky_run_pythonExecute arbitrary Python code in a persistent session to handle tasks not covered by dedicated tools. Variables persist across calls for stateful workflows.
Instructions
Run arbitrary Python code in the persistent Python session.
This is the escape hatch for anything the dedicated tools do not cover. The session keeps state between calls, so variables survive from one invocation to the next.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python source to execute. | |
| timeout | No | Maximum number of seconds to wait for the code to finish. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |