Update form
update_form_schemaChange a form's name or schema. Forms have no draft: when the form is on a published page, the change is live at once. Each top-level schema key you send (fields, groups, scoring, email and so on) replaces the stored one whole and keys you leave out are kept, so send complete values: the full fields array, the full scoring object. expectedUpdatedAt (updatedAt from get_form) is required, and the change is refused if the form changed since. The merged schema is checked like create_form's before anything is written: problems the change introduces are refused, ones already in the form come back as warnings, and fields the change removes are listed.
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": {
"projectId": "<projectId>",
"formId": "<formId>",
"expectedUpdatedAt": "<expectedUpdatedAt>"
},
"name": "update_form_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New form name | |
| formId | Yes | The form ID | |
| projectId | Yes | The project ID | |
| formSchema | No | The top-level keys to replace; keys left out are kept | |
| expectedUpdatedAt | Yes | updatedAt as read from get_form; the change is refused if the form changed since |