update_contact
Update a contact's email, password, or phone number. Adding a phone number enables SMS 2FA for that contact.
Instructions
Update an additional contact (whmcs/update_contact): email, password, phone. Providing a phone enables SMS 2FA.
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>",
"email": "<email>",
"confirm": "<confirm>"
},
"name": "update_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Contact email | ||
| confirm | Yes | Must be true to run the operation. | |
| password2 | No | New contact password | |
| contact_id | Yes | Contact ID | |
| phonenumber | No | Phone (enables SMS 2FA) |