create_letter
Create a new letter for a contact by specifying recipient, date, language, and content. Automate letter generation with optional fields for signature, layout, and notes.
Instructions
Creates new letter
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": {
"contact_id": "<contact_id>",
"contact_address_id": "<contact_address_id>",
"date": "<date>",
"language": "<language>"
},
"name": "create_letter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contact_id | Yes | id of a contact | |
| contact_address_id | Yes | id of a contact's address | |
| contact_prepage_address_id | No | id of a contact's prepage address | |
| contact_person_id | No | id of a contact's person | |
| date | Yes | date of the letter | |
| title | No | title of the letter | |
| content | No | content of the letter | |
| language | Yes | language; possible values: de, en, es, fr, it | |
| signature_id | No | signature id | |
| layout_id | No | layout id | |
| notes | No | optional notes | |
| custom_fields | No | custom fields values | |
| free_texts | No | free texts objects |