Make a designed post
templates_renderFill a template with words. The service draws each page in the saved brand’s colours and fonts, saves it as a picture and answers the media ids, in page order, ready to attach to a draft. Look at each one with media_view before the user sees it. A photo on a page is one the user already uploaded (its media id from media_list) or an https address.
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>",
"pages": "<pages>"
},
"name": "templates_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A template id from templates_list. | |
| cut | No | The shape of the pictures, one per network: portrait (1080 by 1350) for Instagram, Facebook, LinkedIn and Threads; landscape (1600 by 900) for X and Bluesky; pin (1080 by 1620) for Pinterest. templates_list says which cuts each template has. The template’s own shape when left out. | |
| pages | Yes | The pages in order, as many as the template takes. A carousel ends on an action page. | |
| series | No | A short series name shown on the pages, where the template has one. | |
| brandId | No | The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out. | |
| language | No | The language of the words the service prints itself, such as the days of the week and "Closed": English (en), Spanish (es), Portuguese (pt), French (fr) or Haitian Creole (ht). English when left out. |