jupyter_execute_code
Execute Python code in a running Jupyter kernel using a specified kernel ID and optional timeout.
Instructions
Execute Python code in a running kernel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kernel_id | Yes | ID of the kernel to execute in | |
| code | Yes | Python code to execute | |
| timeout | No | Execution timeout in seconds (default: 300) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |