app_get_code
Retrieve the active project's transpiled Python or Arduino C code from the open mBlock app via device.getCode(), giving you the preprocessed source for review or external use.
Instructions
LIVE: get transpiled Python/ArduinoC via device.getCode() in the app (like preprocess).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "app_get_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||