create_custom_field
Creates a custom field on Kommo leads, contacts, or companies for storing extra CRM data. Provide entity type, field type, and name; check existing fields first to avoid duplicates.
Instructions
Create a custom field on leads, contacts, or companies. Not idempotent: each call creates another field, so check list_custom_fields first. Returns the created field. Clears the custom-field cache for that entity. Provide enum_values for select-type fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Field display name. | |
| field_type | Yes | Kommo field type sent as-is, e.g. text, numeric, select, multiselect, date, url, checkbox. | |
| entity_type | Yes | Entity to add the field to: leads, contacts, or companies. | |
| enum_values | No | Option labels for select or multiselect fields, in display order, e.g. ["Low", "High"]. Ignored by other types. |