create_pipeline_field
Create a new custom field on a sales pipeline (deals). Pipeline fields are scoped to a single pipeline - a property created on pipeline A is not visible on pipeline B. Required: name, pipeline_id and attribute_type. If the user did not say which pipeline or which type, ask them - never guess. IMPORTANT — name is ONLY the field label. It is a short noun phrase like "ARR" or "Renewal Date". It NEVER contains verbs ("add", "set"), quantities ("$100k"), or the record you are targeting ("on Stripe"). Extract the label alone from the user's request. Good: name: "ARR". Bad: name: "ARR and set the value $100k on Stripe". Use list_pipeline_stages or get_deal_fields to discover pipeline_id. 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 }]. SETTING A VALUE TOO: this tool only creates the field. When the user also wants a value set ("set ARR to $100k on Stripe" and ARR does not exist yet), call bulk_update_deals 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>",
"pipeline_id": "<pipeline_id>"
},
"name": "create_pipeline_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. | |
| pipeline_id | Yes | Pipeline UUID. Use list_pipelines to find it. | |
| attribute_type | Yes | Data type of the field. Use 'select' or 'multi_select' for dropdowns (also pass metadata.select_options). |