validate_micropython_code
Validates MicroPython code before TI-Nspire CX II deployment, checking syntax, restricted modules, screen coordinates, RGB values, and RAM footprint to catch errors early.
Instructions
Herramienta de depuración preventiva de código MicroPython antes del envío a la TI-Nspire CX II. Verifica sintaxis AST, módulos restringidos, coordenadas fuera de pantalla (320x240), rangos de color RGB (0-255) y huella de RAM.
:param python_code: Código Python a validar.
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": {
"python_code": "<python_code>"
},
"name": "validate_micropython_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| python_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||