Update a contact
update_contactChanges one saved contact on this seat. contact_id is that contact. Set name, phone_numbers, emails, or any of them. A field left out stays as it is. A list replaces the saved list. The group chat name stays as it is.
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": "update_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New contact name. Leave this out to keep the saved name. | |
| emails | No | Saved email addresses. Each item is an address, or an object with address and an optional type. This list replaces the saved addresses. | |
| contact_id | Yes | Saved contact id. | |
| phone_numbers | No | Saved numbers. Each item is a number, or an object with number and an optional type such as mobile, home, or work. This list replaces the saved numbers. |