List custom fields
ghl_list_custom_fieldsRetrieve custom field definitions for a location, filtering by contact, opportunity, or all. Get field IDs to read and write custom values on contacts.
Instructions
List custom field definitions for a location. Filter by model (contact, opportunity, or all) to see which fields apply where. Use the returned ids when reading/writing custom field values on contacts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ghl_list_custom_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Which object's custom fields to return. | all |
| locationId | No | GHL Location (sub-account) ID. Defaults to GHL_LOCATION_ID. |