Upsert letterhead profile
upsert_letterhead_profileCreate or update a letterhead profile. Everything is optional except profile_key and, on creation, company_name — pass only what changes. Measurements are millimetres and points, colours six hex digits without '#'. logo_png_base64 is the payload without the data: prefix; it is what a PDF can embed, so a profile without it produces PDFs without a logo.
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": {
"profile_key": "<profile_key>"
},
"name": "upsert_letterhead_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| h1_pt | No | ||
| h2_pt | No | ||
| h3_pt | No | ||
| place | No | ||
| base_pt | No | ||
| mono_pt | No | ||
| logo_svg | No | ||
| variants | No | {"vergabeverfahren": {"anschreiben": "…"}, "freies_angebot": {"anschreiben": "…"}} | |
| body_font | No | ||
| mono_font | No | ||
| agent_name | No | ||
| caption_pt | No | ||
| fold_marks | No | Fold and punch marks on page 1 of a letter. Default true. | |
| is_default | No | ||
| agent_email | No | ||
| agent_phone | No | ||
| profile_key | Yes | ||
| accent_color | No | ||
| company_name | No | ||
| heading_font | No | ||
| address_lines | No | ||
| caption_color | No | ||
| logo_width_mm | No | ||
| margin_top_mm | No | ||
| footer_columns | No | ||
| header_contact | No | ||
| margin_left_mm | No | ||
| return_address | No | Return address line in small print above the recipient in a letter (DIN 5008). Empty: company name and address lines of this profile. | |
| filename_prefix | No | ||
| logo_png_base64 | No | ||
| margin_right_mm | No | ||
| footer_offset_mm | No | ||
| header_offset_mm | No | ||
| margin_bottom_mm | No | ||
| page_number_template | No |