duplicate_layer
Create an exact copy of a selected or named GIMP layer and place it directly above the original for edits, comparisons, or variations.
Instructions
Duplicate a layer and insert the copy above it.
Parameters:
layer_name: Name of the layer to duplicate; defaults to active layer
image_index: Target image index (default 0)
Returns: {layer_name, layer_id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_name | No | ||
| image_index | No |