create_custom_field
Add a new custom field to a subscriber list by specifying name, data type, and visibility in the preference center.
Instructions
Create a new custom field for a subscriber list
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": {
"list_id": "<list_id>",
"field_name": "<field_name>",
"data_type": "<data_type>"
},
"name": "create_custom_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | Yes | The list ID | |
| field_name | Yes | Name of the custom field | |
| data_type | Yes | Data type: 'Text', 'Number', 'MultiSelectOne', 'MultiSelectMany', 'Date', or 'Country' | |
| visible_in_preference_center | No | Whether the field is visible in the subscriber preference center |