Move Template Block
meisa_move_template_blockReorder a template by moving one block to a new 0-based position. Pass the block_id from a fresh meisa_get_template_blocks call and the to_index to move it to (clamped to the valid range). Content is unchanged; only the order changes. Re-read blocks right before calling this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block_id | Yes | The id of the block to move, from meisa_get_template_blocks (position-based, e.g. blk-0). | |
| to_index | Yes | 0-based destination position. Clamped to the valid range. | |
| template_id | Yes | The UUID of the email template to reorder. |