add_block
Add a single block to an mBlock project, optionally chaining it after another block. Specify opcode, fields, parameters, position, and target for precise placement.
Instructions
Add a single block, optionally chained after afterId. Tip: describe_opcode first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| path | No | ||
| dryRun | No | ||
| fields | No | ||
| opcode | Yes | ||
| params | No | ||
| target | No | ||
| afterId | No | ||
| confirm | No |