Create contact
Save a new customer or supplier in Lexware Office.
MCP tool lexware_office_write → create_contact
write
Saves a contact in your master data; Lexware Office creates a debtor or creditor account for it and suggests it on future documents. It reaches no one and is undone by archiving or deleting the contact in the app, so it does not ask for your OK.
Parameters
| Name | Type | Description |
|---|---|---|
| name string required | string | Company name, or a person's full name. |
| role enum | enum | customer or vendor. Default: customer. |
| email string | string | Email address used by send_document. |
| street string | string | Street and house number. |
| postal_code string | string | Postal code. |
| city string | string | City. |
| country string | string | Two-letter country code. Default: DE. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "lexware_office_write",
"arguments": {
"operation": "create_contact",
"arguments": {
"name": "Jane Doe"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"contact_id": "c_88d0e1",
"name": "Studio Fjord",
"role": "customer",
"customer_number": "10057",
"email": "hallo@studiofjord.example"
},
"isError": false
}