Create a contact
dolibarr_contact_createCreate a contact person in Dolibarr and attach it to a third party. Add names, email, phone, address, job title, and custom fields to build CRM contact records.
Instructions
Creates a contact person, usually attached to a third party.
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": {
"lastname": "<lastname>"
},
"name": "dolibarr_contact_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | ||
| town | No | ||
| No | |||
| address | No | ||
| lastname | Yes | ||
| firstname | No | ||
| job_title | No | ||
| phone_pro | No | ||
| 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. |