get_contact
Retrieve a contact record by Lexware ID, including roles, addresses, emails, phone numbers, notes, and version. Use it before updating a contact to obtain the version update operations require.
Instructions
Read one contact in full, by id.
Returns the complete record: roles and their numbers, billing and shipping addresses, all email addresses and phone numbers, the note and the version. Costs one API call.
Use search_contacts when you have a name rather than an id. Read this before updating a contact, because update_contact needs the version it reports.
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>"
},
"name": "get_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contact_id | Yes | The contact's Lexware id, as returned by search_contacts or referenced by a voucher. |