Skip to main content
Glama

Reorder Layer

photopea_reorder_layer

Move layers to new positions in the stack using top, bottom, above, or below parameters to control visual hierarchy and element ordering.

Instructions

Move a layer to a new position in the layer stack. Use 'top' or 'bottom' to move to the ends of the stack, or 'above'/'below' to shift one position relative to the current index. Use get_layers to see the current layer order.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYesLayer name (string) or index (number)
positionYesTarget position: 'top' = front of stack, 'bottom' = back of stack, 'above' = one position up, 'below' = one position down

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/attalla1/photopea-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server