app_put_script
Send block scripts directly into the open mBlock app in real time, with automatic fallback to file hint when offline.
Instructions
LIVE: put a script into the OPEN mBlock app via the bridge. Falls back to file hint if offline.
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": {
"blocks": "<blocks>"
},
"name": "app_put_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| blocks | Yes | ||
| target | No | Sprite1 |