Skip to content

Search Custom Fields

Tool name: search-custom-fields

Searches custom-field definitions by name or data type, including IDs and email placeholders. Global fields are read-only; contact values are read with get-contact.

Input schema

querynull or string, <= 250 characters

Text the name of a field has to contain; omit to list them all

Default:null
typesArray of strings or null, unique

Only fields of these data types, for example ["field-date", "field-datetime"]; omit for every type

Default:null
Items Enum:"field-single""field-paragraph""field-email""field-number""field-url""field-date""field-time""field-datetime""field-html""field-decimal"
onlyWritablenull or boolean

Only the account's own fields, the ones the write tools may touch; omit to include the global fields

Default:null
limitnull or integer, [ 1 .. 200 ]

How many fields to return at most, 1 to 200, 50 by default

Default:null
accountIdnull or integer, >= 1

User ID of the account; omit for the account the access token works in

Default:null
Input example
{ "query": null, "types": null, "onlyWritable": null, "limit": null, "accountId": null }

Output schema

accountIdintegerrequired
countintegerrequired
totalCountintegerrequired
hasMorebooleanrequired
customFieldsArray of objectsrequired
Output example
{ "accountId": 0, "count": 0, "totalCount": 0, "hasMore": true, "customFields": [ { "id": "string", "name": "string", "type": "string", "isGlobal": true, "multiValue": true, "placeholder": "string", "apiFieldId": "string", "category": "string", "editUrl": "string" } ] }