layer_reorder
Move a GIMP layer to an exact zero-based stack position, with 0 as the top, to control its stacking order.
Instructions
Move a layer to a zero-based stack position; 0 is the top of the layer stack.
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": {
"session_id": "<session_id>",
"layer_id": "<layer_id>",
"position": "<position>"
},
"name": "layer_reorder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_id | Yes | ||
| position | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||