list_custom_fields
Retrieve custom fields and their enum IDs for leads or contacts before creating or updating records.
Instructions
List custom fields and their Enums/IDs for Leads or Contacts. Highly recommended before creating or updating complex leads.
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": {
"entity_type": "<entity_type>"
},
"name": "list_custom_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_type | Yes | Entity type: 'leads' or 'contacts' |