set_publish_settings
Update a Google Form's template visibility and authentication requirements to control discoverability and submission access.
Instructions
Update a Google Form's publishing and auth requirements.
Side effects: mutates publish settings — changes how the form is discoverable (template) and who can submit (auth required). Does NOT change which items are on the form; for that use batch_update_form. Requires the forms OAuth scope.
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": {
"user_google_email": "<user_google_email>",
"form_id": "<form_id>"
},
"name": "set_publish_settings"
}
}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 after /forms/d/. | |
| publish_as_template | No | True lists the form as a template in the Workspace template gallery. Default False. | |
| require_authentication | No | True requires respondents to sign in with a Google account to view/submit (their email is captured). False allows anonymous access. Default False. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |