addToContacts
Create or update a contact by phone number. WARNING: if a contact with this phone number already exists, its name/notes will be overwritten (upsert semantics). ALWAYS confirm the change with the user before calling. Use search first to check if the contact exists.
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": {
"firstName": "<firstName>",
"lastName": "<lastName>",
"phoneNumber": "<phoneNumber>",
"notes": "<notes>"
},
"name": "addToContacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | Notes about the contact | |
| lastName | Yes | Last name of the contact | |
| firstName | Yes | First name of the contact | |
| phoneNumber | Yes | Phone number of the contact |