Template Write Tool
template-writeUpdate or reset workspace Twig templates used by client pages and outgoing emails. update replaces the full source, so read template-read action show first and preserve the intended content. Invalid Twig syntax is rejected. reset removes the override; resetting a custom page permanently deletes it. No version history is available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Full replacement Twig source for "update". Read template-read action show first and preserve the intended content. | |
| action | Yes | Action to perform. | |
| is_active | No | Whether the template is enabled for "update". Omit to keep its current value. Emails with is_active false are not sent. | |
| template_name | No | Template name (e.g. "email.invoice_paid") or a raw design-scoped db_name. Required for "update" and "reset". |