Update a contact
dolibarr_contact_updateUpdates fields on an existing Dolibarr contact; only supplied values are changed, so other contact data stays unchanged.
Instructions
Changes fields of a contact. Only the fields given are changed.
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": "dolibarr_contact_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | ||
| town | No | ||
| No | |||
| address | No | ||
| lastname | No | ||
| firstname | No | ||
| job_title | No | ||
| phone_pro | No | ||
| contact_id | Yes | ||
| country_code | No | ||
| note_private | No | Internal note. | |
| phone_mobile | No | ||
| custom_fields | No | Custom fields by code, e.g. {"region": "north"}. Get codes and allowed values from dolibarr_custom_field_list. | |
| thirdparty_id | No | Third party the contact belongs to. |