update_record_template
Update an existing PDF/HTML record template (its name and/or body). Use this, not create_record_template, when the user asks to 'change'/'update' an existing print template — it keeps the template's ties to print buttons and the payment flow.
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": {
"app_id": "<app_id>",
"template_id": "<template_id>"
},
"name": "update_record_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | New HTML body of the template (optional; the fields' html_name without brackets) | |
| name | No | New template name (optional) | |
| app_id | Yes | Project ID (from list_projects) | |
| template_id | Yes | ID of the record template to update |