Update template
layerre_update_templateUpdate template properties like name, dimensions, background color, or tags. Tags use replace semantics — pass the full desired tag list. Changing dimensions or background will regenerate the preview in the background.
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>"
},
"name": "layerre_update_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New template name | |
| tags | No | Replace all tags on this template. Pass [] to clear all tags. Omit to leave tags unchanged. | |
| width | No | New template width in pixels | |
| height | No | New template height in pixels | |
| template_id | Yes | The UUID of the template to update | |
| background_color | No | Background color of the first page (page 0) in hex format (#RRGGBB) | |
| page_backgrounds | No | Per-page background colors to merge, keyed by page index string |