add_blocks
Inject validated Blockly XML blocks into the Blocks workspace. The IDE must be in Blocks view.
Instructions
Injects Blockly XML blocks into the Blocks workspace. Validates the XML before injection to prevent silent failures. Requires the IDE to be in Blocks view.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xmlString | Yes | Blockly XML string (must be valid XML starting with <xml> or <block>) |