Google Forms · Capability

Google Forms API — Forms

Google Forms API — Forms. 4 operations. Lead operation: Google Forms Create Form. Self-contained Naftiko capability covering one Google Forms business surface.

Run with Naftiko Google FormsForms

What You Can Do

POST
Createform — Google Forms Create Form
/v1/v1/forms
GET
Getform — Google Forms Get Form
/v1/v1/forms/{formid}
POST
Batchupdateform — Google Forms Batch Update Form
/v1/v1/forms/formid-batchupdate
POST
Setpublishsettings — Google Forms Set Publish Settings
/v1/v1/forms/formid-setpublishsettings

MCP Tools

google-forms-create-form

Google Forms Create Form

google-forms-get-form

Google Forms Get Form

read-only idempotent
google-forms-batch-update-form

Google Forms Batch Update Form

google-forms-set-publish-settings

Google Forms Set Publish Settings

Capability Spec

google-forms-forms.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Forms API — Forms
  description: 'Google Forms API — Forms. 4 operations. Lead operation: Google Forms Create Form. Self-contained Naftiko capability
    covering one Google Forms business surface.'
  tags:
  - Google Forms
  - Forms
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_FORMS_API_KEY: GOOGLE_FORMS_API_KEY
capability:
  consumes:
  - type: http
    namespace: google-forms-forms
    baseUri: https://forms.googleapis.com
    description: Google Forms API — Forms business capability. Self-contained, no shared references.
    resources:
    - name: v1-forms
      path: /v1/forms
      operations:
      - name: createform
        method: POST
        description: Google Forms Create Form
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-forms-formId
      path: /v1/forms/{formId}
      operations:
      - name: getform
        method: GET
        description: Google Forms Get Form
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: formId
          in: path
          type: string
          description: The ID of the form to retrieve.
          required: true
    - name: v1-forms-formId}:batchUpdate
      path: /v1/forms/{formId}:batchUpdate
      operations:
      - name: batchupdateform
        method: POST
        description: Google Forms Batch Update Form
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: formId
          in: path
          type: string
          description: The ID of the form to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-forms-formId}:setPublishSettings
      path: /v1/forms/{formId}:setPublishSettings
      operations:
      - name: setpublishsettings
        method: POST
        description: Google Forms Set Publish Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: formId
          in: path
          type: string
          description: The ID of the form to update publish settings for.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.GOOGLE_FORMS_API_KEY}}'
  exposes:
  - type: rest
    namespace: google-forms-forms-rest
    port: 8080
    description: REST adapter for Google Forms API — Forms. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/forms
      name: v1-forms
      description: REST surface for v1-forms.
      operations:
      - method: POST
        name: createform
        description: Google Forms Create Form
        call: google-forms-forms.createform
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/forms/{formid}
      name: v1-forms-formid
      description: REST surface for v1-forms-formId.
      operations:
      - method: GET
        name: getform
        description: Google Forms Get Form
        call: google-forms-forms.getform
        with:
          formId: rest.formId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/forms/formid-batchupdate
      name: v1-forms-formid-batchupdate
      description: REST surface for v1-forms-formId}:batchUpdate.
      operations:
      - method: POST
        name: batchupdateform
        description: Google Forms Batch Update Form
        call: google-forms-forms.batchupdateform
        with:
          formId: rest.formId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/forms/formid-setpublishsettings
      name: v1-forms-formid-setpublishsettings
      description: REST surface for v1-forms-formId}:setPublishSettings.
      operations:
      - method: POST
        name: setpublishsettings
        description: Google Forms Set Publish Settings
        call: google-forms-forms.setpublishsettings
        with:
          formId: rest.formId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: google-forms-forms-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Forms API — Forms. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: google-forms-create-form
      description: Google Forms Create Form
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: google-forms-forms.createform
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-forms-get-form
      description: Google Forms Get Form
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: google-forms-forms.getform
      with:
        formId: tools.formId
      outputParameters:
      - type: object
        mapping: $.
    - name: google-forms-batch-update-form
      description: Google Forms Batch Update Form
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: google-forms-forms.batchupdateform
      with:
        formId: tools.formId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-forms-set-publish-settings
      description: Google Forms Set Publish Settings
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: google-forms-forms.setpublishsettings
      with:
        formId: tools.formId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.