get_template
Retrieve an email template by ID from Klaviyo. Use to audit or preview its HTML/text content, optionally including the full HTML body.
Instructions
Fetch an email template by ID, including HTML/text content. Use for audit/preview.
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": {
"account": "<account>",
"template_id": "<template_id>"
},
"name": "get_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Account name | |
| template_id | Yes | Template ID. | |
| include_html | No | Include full HTML body. Default false (truncated). |