Name the template
set_template_infoSave a template's name, description and what each input may hold; each field given replaces the old value, and fields left out keep theirs. Name: short and specific, e.g. "Ember Roasters autumn menu". Description: a sentence on what it is and where it is used. inputs: a description per text or image layer, by its id or name, saying what it holds and how long it can be, as characters and lines ("Headline: 10 to 45 characters, up to 2 lines"); batches show it to whoever fills the rows. Inputs merge by layer: one left out keeps its description, and "" clears it. Every text and image layer is an input until fixed marks it true: slide numbers, arrows and labels that never change per row (false makes it an input again). It also saves every change still waiting to be saved, so call it last: the template is then ready to fill with data. Returns the template's id, name, description, describedInputs (how many inputs now have a description) and fixedLayers, with a note when a change could not be saved. Use it once at the end of a design (measuring input limits: design_guide topic batch); to rename a single page use rename_page.
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": "set_template_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| fixed | No | Layer id or name to true to keep it as designed (not a batch input), false to make it an input again. | |
| inputs | No | Layer id or name to its input description: what it holds and its length limit. | |
| description | No | ||
| template_id | Yes | The template, from create_design or search_templates. |