Update Custom Form Section Field
update_custom_form_section_fieldChange how a placed field (or label) behaves on one form: its text, mandatory, visible, default_value and show-when conditions. Omitted arguments keep their current values; pass default_value null to clear it and show_when [] to drop the conditions. The pool field itself is changed with update_custom_form_field.
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>",
"form_id": "<form_id>",
"section_id": "<section_id>",
"section_field_id": "<section_field_id>"
},
"name": "update_custom_form_section_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Text shown on this form. | |
| form_id | Yes | Custom form UUID returned by read_custom_forms. | |
| visible | No | Whether attendees see it. | |
| event_id | Yes | Event UUID returned by search_events. | |
| mandatory | No | Whether attendees must answer it. Not enforced while the field is hidden. | |
| show_when | No | Show this field only when the attendee picked one of `options` in another choice field placed in the same section. Several conditions are OR-ed. Replaces the field's existing conditions; [] removes them. | |
| section_id | Yes | Section UUID returned by read_custom_forms get_form. | |
| description | No | Help text shown on this form; an empty string clears it. | |
| lock_height | No | Labels only: keep the label at a fixed height in the app. | |
| default_value | No | Default answer for this field on this form. A visible field starts out with it and the attendee may change it. A hidden field (visible=false) cannot be answered, so the server stores the default on every submission. Supported for text, number, email, url, phone_number, date, time, switch, single_select, radio, multi_select, checkbox fields: an option internal_name for single_select and radio, an array of option internal_names for multi_select and checkbox, "true"/"false" for switch, and a string otherwise (validated as an email, phone number, URL, number, date or time where the type requires). Pass null to clear it. | |
| section_field_id | Yes | Placed field id from read_custom_forms get_form (sections[].fields[].id). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | Yes | ||
| message | Yes | ||
| section_field | Yes |