create_account_field
Create a new custom field on accounts (companies). Use when asked to add a column or property to accounts. Call get_account_fields first to avoid duplicate names. Required: name (display label) and attribute_type. IMPORTANT — name is ONLY the field label. It is a short noun phrase like "Commission" or "Renewal Date". It NEVER contains verbs ("add", "set"), quantities ("$50"), or the record you are targeting ("on Acme"). Extract the label alone from the user's request. Good: name: "Commission". Bad: name: "add Commission field and set 50 dollar on acme". Supported attribute_type values: string, number, checkbox, date, date_range, rating, timestamp, select, multi_select, currency, percentage, location, time, datetime, email, phone, website, url. For select / multi_select pass metadata.select_options as [{ value, label, color?, order }]. property_name is auto-generated from the name. SETTING A VALUE TOO: this tool only creates the field. When the user also wants a value set ("add Fund Size and set it to $2M on Acme"), call bulk_update_accounts next with the property_name this call returns.
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": {
"name": "<name>",
"attribute_type": "<attribute_type>"
},
"name": "create_account_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display label of the new field, e.g. 'Renewal Date'. | |
| order | No | Optional display position within the default view. | |
| metadata | No | Field metadata. Required for select / multi_select (set select_options). | |
| session_id | No | The ID of the task this call belongs to. Leave it out on your first call. On every later call for the same task, send the ID an earlier result gave you, and pass it to any subagent working on that task. | |
| description | No | Optional description shown in the field configuration UI. | |
| attribute_type | Yes | Data type of the field. Use 'select' or 'multi_select' for dropdowns (also pass metadata.select_options). |