reorder_layer
Move a layer to a specified stack index in GIMP to control stacking order for compositing, editing, or export.
Instructions
Move a layer to a new stack position.
Parameters:
new_position: Target stack index (0 = bottom)
layer_name / layer_index: Identify the layer (defaults to active layer)
image_index: Target image index (default 0)
Returns status dict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_name | No | ||
| image_index | No | ||
| layer_index | No | ||
| new_position | Yes |