mail_merge
Creates one output file per record by merging data into a template, preserving the original formatting and layout.
Instructions
Generate one output per record from a template using the OWN byte-preserving fill engine.
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_path": "<template_path>",
"records": "<records>",
"out_dir": "<out_dir>"
},
"name": "mail_merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out_dir | Yes | ||
| records | Yes | ||
| mask_pii | No | ||
| template_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |