Create template
template_createCreate reusable email templates for Listmonk campaigns or transactional sends by specifying name, type, and body; campaign templates require the content placeholder.
Instructions
Create a template. type is 'campaign' (for campaigns) or 'tx' (for transactional sends). body must contain {{ template "content" . }} for campaign templates.
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": {
"name": "<name>",
"type": "<type>",
"body": "<body>"
},
"name": "template_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| name | Yes | ||
| type | Yes | ||
| subject | No |