repl_exec
Run MicroPython code on an ESP32 board over its raw REPL, with separate stdout, stderr, and exception output for debugging.
Instructions
Run code on port over MicroPython's raw REPL; stdout/stderr/exception come back separately.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"port": "<port>",
"code": "<code>"
},
"name": "repl_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| port | Yes | ||
| timeout_s | No |