run_custom_code
Execute arbitrary MicroPython code directly in ESP32 RAM over the CDC0 Raw REPL, with an optional timeout to abort long-running scripts.
Instructions
Execute arbitrary MicroPython code directly in ESP32 RAM via CDC0 Raw REPL.
Args: code: MicroPython source code string to execute. timeout: Maximum execution time in seconds before aborting (default: 10.0s).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||