Get template
get_templateReturn one saved template: name, theme_id, palette? (the deck palette) and slides as [{id, layout, slots, objects, overrides?}], plus each slide's slot definitions with max_chars. Use it to fill the same structure with new text, then save with update_template or export with export_pptx(template_id), both of which need Pro. To place or change only the objects of one slide, use add_objects, update_objects and remove_objects. Teammates' team templates open here too; those also return new_feedback (open pin comments). A template has a published version (what the share link, the presentation and export_pptx use) and may have a draft (unpublished changes made in the web editor or by update_template). By default you read the published version; pass draft: true to read the draft (the published version when there is no draft), which is what to read before you change a template. The response has published_version, draft_version (0: no draft), has_draft and showing ("published" or "draft"); version is the published version, kept for older callers. Needs an API key; reading works on any plan.
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 from list_templates. | |
| draft | No | true: read the draft (the latest changes). Default false: the published version. |