insert_merge_field
Insert a mail merge field at the end of a specified paragraph to enable personalized document generation using data sources.
Instructions
Insert a MERGEFIELD (mail merge) field at the end of a paragraph.
Args: para_id: w14:paraId of the target paragraph. field_name: The merge field name (e.g. "FirstName").
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": {
"para_id": "<para_id>",
"field_name": "<field_name>"
},
"name": "insert_merge_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| para_id | Yes | ||
| field_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |