dolibarr_create_thirdparty
Create a client or supplier in Dolibarr by providing company name and optional details like email, phone, address, and country. Set client or supplier type.
Instructions
Create a new thirdparty (client/supplier) in Dolibarr.
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": {
"name": "<name>"
},
"name": "dolibarr_create_thirdparty"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Company / contact name | |
| No | |||
| phone | No | ||
| address | No | ||
| country_id | No | Dolibarr country ID, e.g. 144 = Sri Lanka | |
| client | No | 1 = is a client | |
| fournisseur | No | 1 = is a supplier |