Change a form
update_formUpdate a Folio Wiki form's title, description, submit label, visibility, or fields while preserving table columns and collected answers; send the etag to prevent overwriting concurrent changes.
Instructions
Changes a form like the form editor of the web app: its title, description, submit button label, public flag, and/or its whole list of fields in order. Each field with columnId keeps filling that column of the paired table (label, help and required change only when given, e.g. { "columnId": "rating", "required": true }); a field without columnId adds a new column; a field you leave out is removed from the form only — its column and the answers already collected stay in the table. Read the form with read_page first and send its etag: if the form changed meanwhile the write is refused and the error carries the current etag. Returns the form after the write, the columns added and the new etag. Requires an editor role and a write-scoped token.
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": {
"id": "<id>"
},
"name": "update_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Form page id | |
| etag | No | The etag read_page (or a previous create_form/update_form) returned; a mismatch refuses the write | |
| title | No | New title | |
| fields | No | The WHOLE new list of questions, in order; omit to keep the fields as they are | |
| public | No | Accept answers from anyone with a share link of the form | |
| description | No | Text above the questions; null removes it | |
| submitButton | No | Label of the submit button; null restores the default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Page id | |
| etag | Yes | Etag of the form now — pass it to the next update_form | |
| form | Yes | The form definition | |
| icon | No | Emoji icon, if the page has one | |
| kind | Yes | Page kind: doc, board, table, form, base, canvas, artifact, pdf or office | |
| path | Yes | Path relative to the space root | |
| cover | No | Cover image URL, if the page has one | |
| order | Yes | Position among its siblings | |
| space | Yes | Space slug the page belongs to | |
| title | Yes | Page title | |
| status | Yes | Page status | |
| tableId | Yes | Page id of the paired table (its rows are the answers) | |
| updatedAt | Yes | Last change, ISO timestamp | |
| columnsAdded | Yes | Ids of the columns this call added to the paired table |