Create custom field
ghl_create_custom_fieldDefine custom fields in GoHighLevel CRM by specifying name, data type, and options for choice-based types. Attach fields to contacts or opportunities.
Instructions
Create a custom field definition. For option-based types (SINGLE_OPTIONS, MULTIPLE_OPTIONS, RADIO, CHECKBOX) provide the options array.
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>",
"dataType": "<dataType>"
},
"name": "ghl_create_custom_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Field display name. | |
| model | No | Object the field attaches to. | contact |
| options | No | Choice values (required for option-based types). | |
| dataType | Yes | Field data type. | |
| position | No | ||
| locationId | No | GHL Location (sub-account) ID. Defaults to GHL_LOCATION_ID. | |
| placeholder | No |