Overview
Google Forms tools allow you to programmatically create and manage Google Forms, add questions, perform batch updates, and retrieve form information. These tools provide comprehensive form management capabilities for surveys, feedback collection, and data gathering.Key Features
GOOGLE_FORMS_CREATE_FORM
: Create new Google FormsGOOGLE_FORMS_ADD_QUESTIONS
: Add questions to existing formsGOOGLE_FORMS_BATCH_UPDATE
: Perform batch updates on formsGOOGLE_FORMS_GET_FORM
: Retrieve form information and structure
Authentication
These tools require Google OAuth credentials with Google Forms API access. You need to set up OAuth credentials through the Google Cloud Console and enable the Google Forms API. Note: Treat API keys as sensitive information and never commit them to public repositories.Tools
GOOGLE_FORMS_CREATE_FORM
Create a new Google Form. Input:title
(string, required): The form titledescription
(string, optional): Form descriptiondocument_title
(string, optional): Document title (defaults to form title)
form_id
: Unique identifier for the created formform_url
: Direct URL to the formedit_url
: URL to edit the formresponse_url
: URL to view responses
GOOGLE_FORMS_ADD_QUESTIONS
Add questions to an existing Google Form. Input:form_id
(string, required): ID of the form to modifyquestions
(array, required): Array of question objects containing:title
(string, required): Question titletype
(string, required): Question type (“multiple_choice”, “text”, “paragraph_text”, “checkboxes”, “dropdown”, “linear_scale”, “multiple_choice_grid”, “checkbox_grid”, “date”, “time”, “file_upload”)required
(boolean, optional): Whether the question is requiredoptions
(array, optional): Options for choice-based questionsdescription
(string, optional): Question description
updated_form_id
: Form IDquestion_ids
: Array of IDs for the added questionsform_url
: URL to the updated form
GOOGLE_FORMS_BATCH_UPDATE
Perform batch updates on a Google Form. Input:form_id
(string, required): ID of the form to updateupdates
(array, required): Array of update requests containing:update_type
(string): Type of update (“update_form_info”, “update_item”, “move_item”, “delete_item”)update_data
(object): Update-specific data
form_id
: Updated form IDupdate_results
: Results of each update operationform_url
: URL to the updated form
GOOGLE_FORMS_GET_FORM
Retrieve information about a Google Form. Input:form_id
(string, required): ID of the form to retrieve
form_info
: Complete form information including:form_id
: Form identifiertitle
: Form titledescription
: Form descriptionquestions
: Array of all questions with their settingssettings
: Form settings (collect emails, response limits, etc.)response_count
: Number of responses received
Examples
Example: Create a New Form
Example: Add Questions to Form
Example: Retrieve Form Information
Example: Batch Update Form
Question Types
Supported Question Types:
- multiple_choice: Single selection from options
- checkboxes: Multiple selections from options
- dropdown: Dropdown menu selection
- text: Short text input
- paragraph_text: Long text input
- linear_scale: Rating scale (1-5, 1-10, etc.)
- multiple_choice_grid: Grid of multiple choice questions
- checkbox_grid: Grid of checkbox questions
- date: Date picker
- time: Time picker
- file_upload: File upload field
Use Cases
- Customer feedback collection
- Survey and questionnaire creation
- Event registration forms
- Employee feedback and HR surveys
- Educational assessments and quizzes
- Market research and data collection
- Application and contact forms
- Automated form generation from templates