add_custom_field
Add a custom column to contacts or companies. field_type is 'text' for free text, or 'dropdown' for a lookup/picklist with fixed choices. IMPORTANT: when the user wants a lookup-style column (e.g. a 'Stage' field) you MUST first ask whether they want it as a lookup (dropdown) or a normal text field. If they choose dropdown and don't give the choices, call this with field_type='dropdown' and NO options — it returns needs_confirmation with AI-suggested options; show those, get the user's approval/edits, then call again with the final options array to actually create the field.
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": {
"label": "<label>"
},
"name": "add_custom_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Display name, e.g. 'Stage' | |
| entity | No | contacts | |
| confirm | No | Set true to create even a dropdown with the given options | |
| options | No | Choices for a dropdown field. Omit to get AI suggestions. | |
| field_type | No | text |