Define Field
define_fieldCreate custom fields on contacts, organizations, or deals to track data missing from standard fields, so values can be set, filtered, sorted, and displayed as columns.
Instructions
Define a custom field on contacts, organizations or deals, so it can be set, filtered, sorted and shown as a column.
Call it when the user wants to track something list_fields does not have: a fit grade, an
audience, a headcount. Then write values with update_contact, update_organization
or update_opportunity (fields={key: value}). Put a fact about a company on the
organization, once, never on each of its contacts. Defining a key that exists returns it,
adding any new options and filling an empty description; it never changes the label,
type, range or removes an option, which update_field does.
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": "<entity>",
"key": "<key>",
"label": "<label>",
"type": "<type>"
},
"name": "define_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Stable identifier: lowercase letters, digits and underscores (e.g. "fit"). Writes, filters and other systems name it, so choose it to last. | |
| type | Yes | What the field holds. | |
| label | Yes | The name people see, e.g. "Fit". | |
| entity | Yes | What the field describes. | |
| maximum | No | For a number field, the highest value it accepts, inclusive. | |
| minimum | No | For a number field, the lowest value it accepts, inclusive (e.g. 1 for a 1-5 score). | |
| options | No | The allowed values, required for select and multi_select. Matched without regard to case on write. | |
| defined_by | No | Who is defining it: an agent, a run, or a person. | |
| description | No | What the field means and how to fill it, written for the agent that will grade the next thousand records. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||