Change a form (AI)
edit_formChange an EXISTING form by instruction — 'make the phone number required', 'add a question about allergies', 'rename it to Summer Party 2027'. The FormBuilder builds the change and saves it. Pass the instruction complete and in the user's language. Uses the AI quota. Not for a new form (create_form) and not for opening or closing (set_form_open). Form ids come from list_forms.
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": {
"form_id": "<form_id>",
"instruction": "<instruction>"
},
"name": "edit_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_id | Yes | The website's id — from list_sites. | |
| instruction | Yes | What to change, concrete and complete (3–1000 characters). |