Move Block (drag-and-drop)
kilango_move_blockMove a block to a new position using an index or a reference to another block. It computes the updated order and applies it, accounting for render-tier effects.
Instructions
Move one block to a new position (index, or before/after another blockId). Fetches the current order, computes the complete permutation, and calls reorder with If-Match. Position within a render tier follows the widget renderRole, so the visual result may differ from the array index — read the rendering note.
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": {
"portalRef": "<portalRef>",
"pageRef": "<pageRef>",
"blockId": "<blockId>",
"position": "<position>"
},
"name": "kilango_move_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blockId | Yes | ||
| pageRef | Yes | ||
| position | Yes | ||
| portalRef | Yes |