Update layer
layerre_update_layerUpdate layer properties like position, text content, image URL, styling, etc. Triggers background preview regeneration.
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": {
"template_id": "<template_id>",
"layer_id": "<layer_id>"
},
"name": "layerre_update_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | New X position in pixels | |
| y | No | New Y position in pixels | |
| name | No | New layer name | |
| layer_id | Yes | The UUID of the layer to update | |
| position | No | Z-order position (0=bottom/back, higher=top/front) | |
| properties | No | Updated layer properties | |
| template_id | Yes | The UUID of the template |