get_template
Retrieve template metadata (name, type, dates, folder, thumbnail) without its HTML. Use to inspect settings or verify a template exists before referencing it.
Instructions
Retrieve metadata for a template (name, type, dates, folder, thumbnail) without its HTML content.
Use to inspect a template's settings or verify it exists before referencing it elsewhere. Use get_template_default_content to fetch the actual HTML body. Use list_templates to browse and discover template IDs.
Returns 404 error if template_id is invalid.
Args: template_id: Template ID (numeric string, e.g. '12345'). Obtain from list_templates.
Returns: JSON with id, name, type ('user' | 'base' | 'gallery'), drag_and_drop (bool), date_created, date_edited, created_by, edited_by, active (bool), folder_id, thumbnail, share_url, category.
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": "get_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| template_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |