List the custom fields of a record type
dolibarr_custom_field_listLists the custom fields (extrafields) available for a record type, including codes, labels, types, and allowed values. Check it before creating or updating records with custom_fields so codes and values are correct.
Instructions
The custom fields (extrafields) a record type has on this Dolibarr instance: code, label, type, whether it is required, and the allowed values of choice fields. Call it before creating or updating a record with custom_fields, so the codes and values are right.
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": {
"record": "<record>"
},
"name": "dolibarr_custom_field_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | Yes | The kind of record. |