create_layout
Create a reusable email template layout by providing an HTML wrapper that embeds {{{ content }}} as the body placeholder. Supports optional URL-safe permalink and plain-text wrapper.
Instructions
Create a template layout. html_wrapper has to embed the body with {{{ content }}}; anything else is refused with ValidationError.
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>",
"html_wrapper": "<html_wrapper>"
},
"name": "create_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name | |
| permalink | No | URL-safe identifier | |
| html_wrapper | Yes | HTML wrapper embedding {{{ content }}} | |
| text_wrapper | No | Plain-text wrapper |