Create Custom Form Field
create_custom_form_fieldAdd a question to a Forms feature's field pool. Pool fields are shared by every form in the feature and appear on a form only once placed with add_custom_form_section_field. Choice types (single_select, multi_select, radio, checkbox) need options; slider needs slider_min and slider_max.
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": {
"event_id": "<event_id>",
"name": "<name>",
"data_type": "<data_type>"
},
"name": "create_custom_form_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Question text. Required; ask the user rather than inventing it. | |
| options | No | Options, in display order. Required for single_select, multi_select, radio and checkbox. | |
| event_id | Yes | Event UUID returned by search_events. | |
| data_type | Yes | Answer type. | |
| feature_id | No | Forms feature UUID (feature.id from read_custom_forms list_forms). Optional when the event has exactly one Forms feature. | |
| slider_max | No | Highest slider value. Required for slider. | |
| slider_min | No | Lowest slider value. Required for slider. | |
| description | No | Optional help text. | |
| internal_name | No | Unique key within the pool (lowercase letters/digits separated by underscores). Derived from name when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | Yes | ||
| field | Yes | ||
| message | Yes |