Create template
create_templateSave reusable email content in a project. Campaign steps, broadcasts and transactional emails take it by template_id and keep their own copy, so later edits to the template do not change them.
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": {
"project_id": "<project_id>",
"name": "<name>",
"subject": "<subject>",
"preview_text": "<preview_text>",
"html": "<html>",
"markdown": "<markdown>"
},
"name": "create_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | The body as HTML. Null when you send markdown. | |
| name | Yes | ||
| subject | Yes | ||
| markdown | Yes | The body as markdown. Null when you send html. | |
| project_id | Yes | ||
| preview_text | Yes |