Get template fields
get_templateRead one template: its size, description and every editable text and number, as field keys with their current values (e.g. "w0.text": "Annual Report 2026", "w5.datasets.0.values": [820, 1050]). The same keys change the template when it is rendered. With preview set to true, the template's preview image is included.
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": {
"id": "<id>"
},
"name": "get_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Template id, e.g. "business-stats". | |
| preview | No | Also return the template preview image (default false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| width | Yes | Canvas width in px. | |
| fields | Yes | Every editable text and number, with the key that changes it. | |
| height | Yes | Canvas height in px. | |
| category | Yes | ||
| previewUrl | Yes | The template preview image. | |
| description | Yes |