layer_reparent
Move a layer into a Group, Bone, Switch, or Particle layer, or reorder it behind or in front of another layer to fix hierarchy and stacking order in Moho projects.
Instructions
Move a layer into a Group/Bone/Switch/Particle layer or reorder it behind or in front of another layer.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "layer_reparent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | No | Numeric depth-first layer ID (from layer_list) | |
| layerName | No | Exact layer name | |
| layerUuid | No | Layer UUID | |
| insertAtTop | No | ||
| behindLayerId | No | ||
| parentLayerId | No | ||
| behindLayerName | No | ||
| parentLayerName | No | ||
| inFrontOfLayerId | No | ||
| inFrontOfLayerName | No |