compare_templates
Identify differences between two email templates by comparing text content node-by-node. Determine which nodes are identical, changed, or unique to each template.
Instructions
Structured diff of two templates' text content (e.g. EN vs ES review).
Returns per-node comparison with match_type:
identical: text is the same in both
changed: text differs
only_in_a: node exists only in template A
only_in_b: node exists only in template B
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": {
"template_a_id": "<template_a_id>",
"template_b_id": "<template_b_id>"
},
"name": "compare_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_a_id | Yes | external_template_id of template A (e.g. English original). | |
| template_b_id | Yes | external_template_id of template B (e.g. Spanish translation). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||