Add form field

Add a field to a form in the Form Editor.

MCP tool 123formbuilder_write → add_form_field

write Confirm

Adds one field by the name it has in the Fields panel (Essentials, Contact details, Date & Time and the other groups). With after_field it is placed below that field, like a field added while another is selected; without it, at the end. A form embedded with the JavaScript code shows the new field as soon as it is saved. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: add_form_field
NameTypeDescription
form_id integer required integer Form id from list_forms.
field_type string required string Field type as named in the Fields panel, e.g. Email.
label string required string Label shown above the field.
after_field string string Label of the field it goes below.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "123formbuilder_write",
    "arguments": {
      "operation": "add_form_field",
      "arguments": {
        "form_id": 5130021,
        "field_type": "Email",
        "label": "Work email",
        "after_field": "Email"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "form_id": 5130021,
    "field": {
      "label": "Work email",
      "type": "Email",
      "required": false
    },
    "position": 3
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.