Create layer
layerre_create_layerCreate a new layer (text or image) for a template. Layer type is inferred from properties if not specified.
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_create_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X position in pixels (default: 0) | |
| y | No | Y position in pixels (default: 0) | |
| name | No | Layer name (default: "New Layer") | |
| layer_type | No | Layer type (inferred from properties if not provided) | |
| properties | No | Layer properties (text, img_url, styling, etc.) | |
| template_id | Yes | The UUID of the template to add the layer to |