KosmoKrator

productivity

Google Forms MCP, CLI, and Lua Integration for AI Agents

Google Forms integration docs for AI agents: MCP gateway setup, Google Forms CLI commands, Lua API reference, credentials, and function schemas.

13 functions 5 read 8 write OAuth browser flow auth

Google Forms for agents

OAuth can be configured in web hosts through redirect and in CLI hosts through local/device authorization; runtime works with stored tokens.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
google_forms
route_slug
google/google-forms
package
google
auth_strategy
oauth2_authorization_code OAuth browser flow
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
false

Quick Links

Google Forms MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Google Forms.

Google Forms CLI Matrix

Use these pages for direct Google Forms CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
google_forms.google_forms_add_question Write write 16 Add a question to a Google Form. Supports types: text, paragraph, multiple_choice, checkbox, dropdown, scale, date, time, rating. Use options for choice types. Use low/high/lowLabel/highLabel for scale. Use ratingScale/ratingIcon for rating. Use includeTime/includeYear for date. Use duration for time. Omit index to add at end. Use google_forms_get to see current form structure before editing.
google_forms.google_forms_add_section Write write 4 Add a page break / section to a Google Form. Omit index to add at end. Use google_forms_get to see current form structure.
google_forms.google_forms_add_text_item Write write 4 Add a static text block to a Google Form. Omit index to add at end. Use google_forms_get to see current form structure.
google_forms.google_forms_create Read read 3 Create a new Google Form with a title, optional description, and optional quiz mode. Auto-publishes. Returns form ID, edit URL, and responder URL.
google_forms.google_forms_delete_item Write write 2 Delete an item from a Google Form by its 0-based index. Use google_forms_get to see current form structure.
google_forms.google_forms_get Read read 1 Get a Google Form's structure: title, description, settings, all questions with types/options/IDs, and responder URL. The form ID is the long string in the Google Forms URL: docs.google.com/forms/d/{formId}/edit To list all forms, use google_drive_search with file type "application/vnd.google-apps.form".
google_forms.google_forms_get_response Read read 2 Get a single response to a Google Form by response ID, with question labels. The form ID is the long string in the Google Forms URL: docs.google.com/forms/d/{formId}/edit
google_forms.google_forms_list_responses Read read 4 List responses to a Google Form with question labels. The form ID is the long string in the Google Forms URL: docs.google.com/forms/d/{formId}/edit
google_forms.google_forms_move_item Write write 3 Move an item in a Google Form from one 0-based index to another. Use google_forms_get to see current form structure.
google_forms.google_forms_publish Read read 3 Set publish settings for a Google Form: publish/unpublish and accept/stop accepting responses. At least one of published or acceptingResponses must be provided.
google_forms.google_forms_update_info Write write 3 Update a Google Form title and/or description. At least one of title or description must be provided.
google_forms.google_forms_update_question Write write 6 Update a question in a Google Form by its 0-based index. Can update title, description, required status, and options (for choice questions). Use google_forms_get to see current form structure.
google_forms.google_forms_update_settings Write write 3 Update Google Form settings such as quiz mode and email collection. At least one setting must be provided.