Update a template
update_templateChange how a type's documents look, as options on top of the current ones: accent (hex), theme (light|dark), logo (left|right|none), font (sans|serif), density (normal|compact), columns (full|simple), headline (the big word, e.g. Faktura), words (the printed labels in any language: number, version, date, due, validUntil, from, to, description, quantity, unitPrice, amount, subtotal, total, payment, approve, approved, paid, cancelled, page), locale (how dates, amounts and quantities are written: a language tag like sv-SE gives "19 oktober 2026" and "5 500,00 kr"; "" is the built-in "19 October 2026" and "5 500.00 SEK"; set it with the words when the person wants their documents in a language). reset: true goes back to the built-in look.
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": {
"type": "<type>"
},
"name": "update_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font | No | ||
| logo | No | ||
| type | Yes | quote, contract or invoice. | |
| reset | No | ||
| theme | No | ||
| words | No | ||
| accent | No | ||
| locale | No | A language tag such as "sv-SE", "de-DE" or "en-US", or "" for the built-in way. | |
| columns | No | ||
| density | No | ||
| headline | No |