Update Contact
updateContactModify an existing Thunderbird contact by ID, changing only the fields you pass; email, phone, and address lists are replaced when supplied, and unknown IDs return an error without changes.
Instructions
Change an existing contact by id (from searchContacts): only passed fields change; emails, phones and addresses replace the whole list. Someone new: createContact. An unknown id returns an error and changes nothing.
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": {
"contactId": "<contactId>"
},
"name": "updateContact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Contact note; may contain multiple lines | |
| No | Primary email address | ||
| title | No | Job title | |
| emails | No | All addresses, replacing the list; primary: the flagged one or the first | |
| phones | No | Phone numbers; replaces the list, [] clears it | |
| birthday | No | Birthday as YYYY-MM-DD or --MM-DD when the year is unknown | |
| lastName | No | Last name | |
| addresses | No | Postal addresses; replaces the list, [] clears it | |
| contactId | Yes | Contact UID (from searchContacts results) | |
| firstName | No | First name | |
| displayName | No | Display name | |
| organization | No | Organization or company name |