Google Forms · Capability

Google Forms API — Watches

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

Run with Naftiko Google FormsWatches

What You Can Do

POST
Createwatch — Google Forms Create Watch
/v1/v1/forms/{formid}/watches
GET
Listwatches — Google Forms List Watches
/v1/v1/forms/{formid}/watches
DELETE
Deletewatch — Google Forms Delete Watch
/v1/v1/forms/{formid}/watches/{watchid}
POST
Renewwatch — Google Forms Renew Watch
/v1/v1/forms/{formid}/watches/watchid-renew

MCP Tools

google-forms-create-watch

Google Forms Create Watch

google-forms-list-watches

Google Forms List Watches

read-only idempotent
google-forms-delete-watch

Google Forms Delete Watch

idempotent
google-forms-renew-watch

Google Forms Renew Watch

Capability Spec

google-forms-watches.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Forms API — Watches
  description: 'Google Forms API — Watches. 4 operations. Lead operation: Google Forms Create Watch. Self-contained Naftiko
    capability covering one Google Forms business surface.'
  tags:
  - Google Forms
  - Watches
  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-watches
    baseUri: https://forms.googleapis.com
    description: Google Forms API — Watches business capability. Self-contained, no shared references.
    resources:
    - name: v1-forms-formId-watches
      path: /v1/forms/{formId}/watches
      operations:
      - name: createwatch
        method: POST
        description: Google Forms Create Watch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: formId
          in: path
          type: string
          description: The ID of the form to watch.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listwatches
        method: GET
        description: Google Forms List Watches
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: formId
          in: path
          type: string
          description: The ID of the form whose watches to list.
          required: true
    - name: v1-forms-formId-watches-watchId
      path: /v1/forms/{formId}/watches/{watchId}
      operations:
      - name: deletewatch
        method: DELETE
        description: Google Forms Delete Watch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: formId
          in: path
          type: string
          description: The ID of the form.
          required: true
        - name: watchId
          in: path
          type: string
          description: The ID of the watch to delete.
          required: true
    - name: v1-forms-formId-watches-watchId}:renew
      path: /v1/forms/{formId}/watches/{watchId}:renew
      operations:
      - name: renewwatch
        method: POST
        description: Google Forms Renew Watch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: formId
          in: path
          type: string
          description: The ID of the form.
          required: true
        - name: watchId
          in: path
          type: string
          description: The ID of the watch to renew.
          required: true
    authentication:
      type: bearer
      token: '{{env.GOOGLE_FORMS_API_KEY}}'
  exposes:
  - type: rest
    namespace: google-forms-watches-rest
    port: 8080
    description: REST adapter for Google Forms API — Watches. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/forms/{formid}/watches
      name: v1-forms-formid-watches
      description: REST surface for v1-forms-formId-watches.
      operations:
      - method: POST
        name: createwatch
        description: Google Forms Create Watch
        call: google-forms-watches.createwatch
        with:
          formId: rest.formId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listwatches
        description: Google Forms List Watches
        call: google-forms-watches.listwatches
        with:
          formId: rest.formId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/forms/{formid}/watches/{watchid}
      name: v1-forms-formid-watches-watchid
      description: REST surface for v1-forms-formId-watches-watchId.
      operations:
      - method: DELETE
        name: deletewatch
        description: Google Forms Delete Watch
        call: google-forms-watches.deletewatch
        with:
          formId: rest.formId
          watchId: rest.watchId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/forms/{formid}/watches/watchid-renew
      name: v1-forms-formid-watches-watchid-renew
      description: REST surface for v1-forms-formId-watches-watchId}:renew.
      operations:
      - method: POST
        name: renewwatch
        description: Google Forms Renew Watch
        call: google-forms-watches.renewwatch
        with:
          formId: rest.formId
          watchId: rest.watchId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: google-forms-watches-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Forms API — Watches. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: google-forms-create-watch
      description: Google Forms Create Watch
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: google-forms-watches.createwatch
      with:
        formId: tools.formId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-forms-list-watches
      description: Google Forms List Watches
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: google-forms-watches.listwatches
      with:
        formId: tools.formId
      outputParameters:
      - type: object
        mapping: $.
    - name: google-forms-delete-watch
      description: Google Forms Delete Watch
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: google-forms-watches.deletewatch
      with:
        formId: tools.formId
        watchId: tools.watchId
      outputParameters:
      - type: object
        mapping: $.
    - name: google-forms-renew-watch
      description: Google Forms Renew Watch
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: google-forms-watches.renewwatch
      with:
        formId: tools.formId
        watchId: tools.watchId
      outputParameters:
      - type: object
        mapping: $.