Create a data field
create_data_fieldCreate reusable form fields for company-wide forms. Specify label, field type, and choices for field options to collect attendee information.
Instructions
Create a reusable form field, company-wide. Choice fields need options; text fields do not.
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": {
"label": "<label>",
"fieldType": "<fieldType>"
},
"name": "create_data_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Internal key. Derived from the label if omitted. | |
| label | Yes | Shown to the person filling the form | |
| target | No | Maps the answer onto a known attendee field rather than a custom one | |
| options | No | For choice fields: [{ label, value }] | |
| required | No | ||
| fieldType | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | Internal key | |
| label | No | ||
| target | No | ||
| options | No | Choices, for choice fields | |
| required | No | ||
| fieldType | No |