Create a form
create_formCreates a new Google Form and returns it (formId, revisionId, responderUri, publishSettings). The API only accepts a title and an optional document title at creation (the Drive file name — it cannot be changed later through this API) — add…
Instructions
Creates a new Google Form and returns it (formId, revisionId, responderUri, publishSettings). The API only accepts a title and an optional document title at creation (the Drive file name — it cannot be changed later through this API) — add questions with add_question and change settings with update_form_settings afterwards. IMPORTANT: API-created forms are UNPUBLISHED by default and do not accept responses; pass publish=true to publish immediately, or call set_publish_settings later. If the chained publish step fails, the form still exists: the result carries formId with published:false and publish_error — finish with set_publish_settings, never create_form again. Share the responderUri with respondents once published.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The form title shown to respondents. | |
| publish | No | Publish the form right away so it accepts responses (default false — the form stays an unpublished draft). | |
| document_title | No | The document name in Google Drive (defaults to the title). |