KosmoKrator

productivity

Google Forms CLI for AI Agents

Use the Google Forms CLI from KosmoKrator to call Google Forms tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

Google Forms CLI Setup

Google Forms can be configured headlessly with `kosmokrator integrations:configure google-forms`.

Install, configure, and verify
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure google-forms --enable --read allow --write ask --json
kosmokrator integrations:doctor google-forms --json
kosmokrator integrations:status --json

Credentials

Authentication type: Manual OAuth token oauth2_manual_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

No credentials are required.

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call google-forms.google_forms_forms_create '{}' --json
Provider shortcut
kosmo integrations:google-forms google_forms_forms_create '{}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs google-forms --json
kosmo integrations:docs google-forms.google_forms_forms_create --json
kosmo integrations:schema google-forms.google_forms_forms_create --json
kosmo integrations:search "Google Forms" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

google-forms.google_forms_forms_create

Forms Create (POST /v1/forms).

Write write
Parameters
none
Generic call
kosmo integrations:call google-forms.google_forms_forms_create '{}' --json
Shortcut
kosmo integrations:google-forms google_forms_forms_create '{}' --json

google-forms.google_forms_forms_get

Forms Get (GET /v1/forms/{formId}).

Read read
Parameters
none
Generic call
kosmo integrations:call google-forms.google_forms_forms_get '{}' --json
Shortcut
kosmo integrations:google-forms google_forms_forms_get '{}' --json

google-forms.google_forms_forms_set_publish_settings

Forms Set Publish Settings (POST /v1/forms/{formId}:setPublishSettings).

Write write
Parameters
none
Generic call
kosmo integrations:call google-forms.google_forms_forms_set_publish_settings '{}' --json
Shortcut
kosmo integrations:google-forms google_forms_forms_set_publish_settings '{}' --json

google-forms.google_forms_forms_batch_update

Forms Batch Update (POST /v1/forms/{formId}:batchUpdate).

Write write
Parameters
none
Generic call
kosmo integrations:call google-forms.google_forms_forms_batch_update '{}' --json
Shortcut
kosmo integrations:google-forms google_forms_forms_batch_update '{}' --json

google-forms.google_forms_forms_responses_list

Forms Responses List (GET /v1/forms/{formId}/responses).

Read read
Parameters
none
Generic call
kosmo integrations:call google-forms.google_forms_forms_responses_list '{}' --json
Shortcut
kosmo integrations:google-forms google_forms_forms_responses_list '{}' --json

google-forms.google_forms_forms_responses_get

Forms Responses Get (GET /v1/forms/{formId}/responses/{responseId}).

Read read
Parameters
none
Generic call
kosmo integrations:call google-forms.google_forms_forms_responses_get '{}' --json
Shortcut
kosmo integrations:google-forms google_forms_forms_responses_get '{}' --json

google-forms.google_forms_forms_watches_renew

Forms Watches Renew (POST /v1/forms/{formId}/watches/{watchId}:renew).

Write write
Parameters
none
Generic call
kosmo integrations:call google-forms.google_forms_forms_watches_renew '{}' --json
Shortcut
kosmo integrations:google-forms google_forms_forms_watches_renew '{}' --json

google-forms.google_forms_forms_watches_create

Forms Watches Create (POST /v1/forms/{formId}/watches).

Write write
Parameters
none
Generic call
kosmo integrations:call google-forms.google_forms_forms_watches_create '{}' --json
Shortcut
kosmo integrations:google-forms google_forms_forms_watches_create '{}' --json

google-forms.google_forms_forms_watches_list

Forms Watches List (GET /v1/forms/{formId}/watches).

Read read
Parameters
none
Generic call
kosmo integrations:call google-forms.google_forms_forms_watches_list '{}' --json
Shortcut
kosmo integrations:google-forms google_forms_forms_watches_list '{}' --json

google-forms.google_forms_forms_watches_delete

Forms Watches Delete (DELETE /v1/forms/{formId}/watches/{watchId}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-forms.google_forms_forms_watches_delete '{}' --json
Shortcut
kosmo integrations:google-forms google_forms_forms_watches_delete '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

google-forms.google_forms_forms_create 0 parameters
Schema command
kosmo integrations:schema google-forms.google_forms_forms_create --json
ParameterTypeRequiredDescription
No parameters.
google-forms.google_forms_forms_get 0 parameters
Schema command
kosmo integrations:schema google-forms.google_forms_forms_get --json
ParameterTypeRequiredDescription
No parameters.
google-forms.google_forms_forms_set_publish_settings 0 parameters
Schema command
kosmo integrations:schema google-forms.google_forms_forms_set_publish_settings --json
ParameterTypeRequiredDescription
No parameters.
google-forms.google_forms_forms_batch_update 0 parameters
Schema command
kosmo integrations:schema google-forms.google_forms_forms_batch_update --json
ParameterTypeRequiredDescription
No parameters.
google-forms.google_forms_forms_responses_list 0 parameters
Schema command
kosmo integrations:schema google-forms.google_forms_forms_responses_list --json
ParameterTypeRequiredDescription
No parameters.
google-forms.google_forms_forms_responses_get 0 parameters
Schema command
kosmo integrations:schema google-forms.google_forms_forms_responses_get --json
ParameterTypeRequiredDescription
No parameters.
google-forms.google_forms_forms_watches_renew 0 parameters
Schema command
kosmo integrations:schema google-forms.google_forms_forms_watches_renew --json
ParameterTypeRequiredDescription
No parameters.
google-forms.google_forms_forms_watches_create 0 parameters
Schema command
kosmo integrations:schema google-forms.google_forms_forms_watches_create --json
ParameterTypeRequiredDescription
No parameters.
google-forms.google_forms_forms_watches_list 0 parameters
Schema command
kosmo integrations:schema google-forms.google_forms_forms_watches_list --json
ParameterTypeRequiredDescription
No parameters.
google-forms.google_forms_forms_watches_delete 0 parameters
Schema command
kosmo integrations:schema google-forms.google_forms_forms_watches_delete --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.