Skip to main content

Documentation Index

Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt

Use this file to discover all available pages before exploring further.

Overview

OneCLI connects AI agents to Google Forms through Google’s OAuth flow. Agents can create forms, add questions, and read submitted responses. The gateway injects OAuth credentials into requests to the Google Forms API automatically. This is useful for agents that need to collect feedback, create surveys, or process form submissions.

Setup

1

Go to Connections

Open the OneCLI dashboard and navigate to Connections > Google Forms.
2

Authorize

Click Connect Google Forms. You’ll be redirected to Google to authorize OneCLI. Review the permissions and click Allow.

What agents can do

  • Create new forms with a title and description
  • Add questions (multiple choice, short answer, paragraph, checkbox, dropdown, scale)
  • Read form structure (questions, sections, settings)
  • Read all submitted responses
  • Get individual response details
  • Set up and manage response watches (notifications for new submissions)
  • Update form metadata (title, description)
  • Modify existing questions

Controlling access with rules

Use OneCLI’s rules engine to limit what agents can do with Google Forms. For example, you can allow read-only access so agents can read responses but not create or modify forms. Rules are evaluated before credential injection, so a blocked request never reaches Google Forms.