set_contract_deadline_mail
Configure a deadline-reminder mail PER CONTRACT TYPE: a template (subject, body) with a recipient list and how many days ahead to remind. preview_contract_deadline_mails then shows the due reminders (draft-first; nothing is sent automatically). Required: contract_type. Optional (a passed field replaces, an omitted one keeps): subject, body (both support placeholders {{vertrag}} {{gegenpartei}} {{vertragsart}} {{stichtag}} {{art}} {{titel}} {{tage}}), recipients (array or comma list), lead_days (0-365, default 30), active (default true).
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": {
"contract_type": "<contract_type>"
},
"name": "set_contract_deadline_mail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Body text | |
| active | No | Whether the entry is active | |
| subject | No | Subject line | |
| lead_days | No | Days before the deadline to remind, 0-365 (default 30) | |
| recipients | No | Recipient e-mail addresses of the reminder | |
| contract_type | Yes | Contract type this reminder template applies to, e.g. rental |