batch_update_form
Apply multiple form edits (add/update/delete questions, reorder, change settings) in one atomic request. All changes apply together or roll back on failure.
Instructions
Apply a batch of Forms API edit requests in one atomic call.
Primary way to modify a form after creation — add/update/delete questions, reorder items, update info, toggle quiz mode, etc. All requests apply atomically: partial failure rolls the whole batch back. Use get_form first to discover existing itemIds/questionIds. For publish settings use set_publish_settings. Requires the forms OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | The user's Google email address (authenticated account). | |
| form_id | Yes | Form ID from the edit URL. | |
| requests | Yes | List of Forms API request objects — each has exactly one key: `createItem` (with item body + location.index), `updateItem` (item + updateMask), `deleteItem` (location index), `moveItem` (originalLocation + newLocation), `updateFormInfo` (info + updateMask), or `updateSettings` (settings + updateMask). See https://developers.google.com/forms/api/reference/rest/v1/forms/batchUpdate for full schemas. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |