render_template
Renders a sub-account's custom or default message template with supplied variables, returning the fully rendered content for email, SMS, WhatsApp, or Telegram.
Instructions
Render the template a sub-account sends — its custom template, otherwise the default — with provided variables. Returns the fully rendered message content.
ACCESS: needs a Proof account. Set PROOF_API_KEY and restart this server, then call this tool again. start_login does NOT open this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | Message channel | |
| variables | No | Variables to substitute into the template | |
| 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 | |
| message_type | Yes | Message type |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rendered | No |