preview_template
Preview a template with sample data before saving, as a sub-account would send it. Shows how the message will look with placeholder variables filled in.
ACCESS: needs a Proof account. Authenticate this client (Claude Code: /mcp → Authenticate), then call this tool again. start_login does NOT open this tool.
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": {
"channel": "<channel>",
"message_type": "<message_type>",
"body": "<body>"
},
"name": "preview_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Template body text | |
| channel | Yes | Message channel | |
| subject | No | Email subject line | |
| profile_id | No | The sub-account to act on; omitted → your key's sub-account, or the primary sub-account for an account-wide key | |
| button_text | No | Button text | |
| message_type | Yes | Message type | |
| button_url_template | No | Button URL template |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preview | No | ||
| is_valid | No | ||
| warnings | No | What a save would warn about; never makes `is_valid` false. Always sent; absent from an API that predates it. | |
| validation_errors | No | What a save would refuse. |