Get Template Merge Tags
get-merge-tagsRetrieve a template's merge tags to discover the substitution_data keys it expects when sending an email, defaulting to the active version.
Instructions
Retrieve the merge tags (variables) for a template. Use this to discover which substitution_data keys a template expects when sending an email. By default returns merge tags for the active version.
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": {
"slug": "<slug>"
},
"name": "get-merge-tags"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The template slug | |
| version | No | Template version number. If not provided, uses the active version. | |
| project_id | No | Project ID to find the template in. If not provided, uses the team's default project. |