Arrange layers
update_layer_setArrange your own layers project: swap one layer's picture for another picture of yours (replace_with), show or hide a layer, move or resize it (box as [left, top, right, bottom] in the base picture's pixels), change its stacking order, or reset it back to where the split put it. Saves immediately through the same checks the Switch workspace uses, so the app shows the same thing.
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": {
"layer_set_id": "<layer_set_id>",
"changes": "<changes>"
},
"name": "update_layer_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | One entry per layer you are changing. | |
| layer_set_id | Yes | The layers project id. |