myinvois_template_update
Edit a saved line-item preset. When line_items_json is included it is re-parsed and every item re-validated exactly as create does, so an edited template cannot drift into a shape myinvois_invoice_generate would reject. NEXT: myinvois_template_list to find the id.
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": {
"id": "<id>"
},
"name": "myinvois_template_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The myinvois_template id (myinvois_template_list shows them). | |
| name | No | ||
| notes | No | ||
| description | No | ||
| payment_terms | No | ||
| line_items_json | No | ||
| expected_updated_at | No | Optional compare-and-set guard: the updated_at from a prior myinvois_template_list/read. Mismatch returns CONFLICT with the current value. |