Manage page templates
manage_templatesCreate, list, retrieve, save, rename, duplicate, and delete saved page layout templates for the Print Studio editor and AI, including stored editor JSON.
Instructions
Saved page layouts shared by the Print Studio editor and the AI. list (no data, newest first), get {id}, save {name,data,width_mm,height_mm,thumbnail?,pages?,id?} (replaces when id exists), rename {id,name}, delete {id}, duplicate {id,name?}. data is the editor JSON string; the server stores it as is.
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": {
"action": "<action>"
},
"name": "manage_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Template id from list. For save: replaces that template, or creates one with this id | |
| data | No | save: the editor JSON as a string (max 25 MB file in total) | |
| name | No | 1-80 characters. A taken name gets " 2", " 3" appended | |
| pages | No | save: page count, default 1 | |
| action | Yes | ||
| width_mm | No | save: page width in millimetres | |
| height_mm | No | save: page height in millimetres | |
| thumbnail | No | save: small preview as a data:image/jpeg;base64 URL |