productivity
Google Forms CLI for Cron Jobs
Use the Google Forms CLI for cron jobs with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 5 read 2 write Manual OAuth token auth
Google Forms CLI for Cron Jobs
Schedule repeatable integration workflows from cron while keeping credentials in KosmoKrator config.
Use the headless CLI from cron when an operation should run without an interactive agent session. The Google Forms CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Google Forms CLI for Cron Jobs
kosmokrator integrations:configure google-forms --set access_token="$GOOGLE_FORMS_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call google-forms.gforms_list_forms '{"pageSize":1,"pageToken":"example_pageToken","filter":"example_filter"}' --json Discovery Before Execution
Agents and scripts can inspect Google Forms docs and schemas before choosing a function.
kosmo integrations:docs google-forms --json
kosmo integrations:docs google-forms.gforms_list_forms --json
kosmo integrations:schema google-forms.gforms_list_forms --json
kosmo integrations:search "Google Forms" --json
kosmo integrations:list --json Useful Google Forms CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
google-forms.gforms_list_forms | Read | pageSize, pageToken, filter | List Google Forms owned by the authenticated user. Returns form IDs, titles, and metadata. Supports pagination and filtering. |
google-forms.gforms_get_form | Read | id | Get the full details of a specific Google Form, including its questions, layout, and settings. |
google-forms.gforms_create_form | Write | info, title, description, documentTitle | Create a new Google Form. Provide a title and optional description. The form will appear in the authenticated user's Google Drive. |
google-forms.gforms_list_responses | Read | id, pageSize, pageToken, filter | List responses submitted to a Google Form. Returns answers, timestamps, and respondent metadata. Supports pagination and filtering by date. |
google-forms.gforms_get_response | Read | form_id, id | Get a specific form response by ID. Returns all answers, the submission timestamp, and respondent metadata. |
google-forms.gforms_create_response | Write | id, answers | Submit a response to a Google Form. Provide answers keyed by question ID. Use get_form first to discover question IDs and their types. |
google-forms.gforms_get_current_user | Read | none | Get the authenticated Google user's profile — email, display name, and profile photo. Use this to verify the connected account. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.