Google · Capability

Google Sheets API — Update

Google Sheets API — Update. 4 operations. Lead operation: Google Update Values. Self-contained Naftiko capability covering one Google business surface.

Run with Naftiko GoogleUpdate

What You Can Do

PUT
Put — Google Update Values
/v1/v4/spreadsheets/{spreadsheetid}/values/{range}
POST
Post — Google Batch Update Values
/v1/v4/spreadsheets/{spreadsheetid}/values-batchupdate
POST
Post — Google Update by Data Filter
/v1/v4/spreadsheets/{spreadsheetid}/values-batchupdatebydatafilter
POST
Post — Google Batch Update Sheets
/v1/v4/spreadsheets/spreadsheetid-batchupdate

MCP Tools

google-update-values

Google Update Values

idempotent
google-batch-update-values

Google Batch Update Values

google-update-data-filter

Google Update by Data Filter

google-batch-update-sheets

Google Batch Update Sheets

Capability Spec

sheets-update.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Sheets API — Update
  description: 'Google Sheets API — Update. 4 operations. Lead operation: Google Update Values. Self-contained Naftiko capability
    covering one Google business surface.'
  tags:
  - Google
  - Update
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_API_KEY: GOOGLE_API_KEY
capability:
  consumes:
  - type: http
    namespace: sheets-update
    baseUri: https://sheets.googleapis.com
    description: Google Sheets API — Update business capability. Self-contained, no shared references.
    resources:
    - name: v4-spreadsheets-spreadsheetId-values-range
      path: /v4/spreadsheets/{spreadsheetId}/values/{range}
      operations:
      - name: put
        method: PUT
        description: Google Update Values
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: spreadsheetId
          in: path
          type: string
          description: (Required)
          required: true
        - name: range
          in: path
          type: string
          description: (Required)
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v4-spreadsheets-spreadsheetId-values:batchUpdate
      path: /v4/spreadsheets/{spreadsheetId}/values:batchUpdate
      operations:
      - name: post
        method: POST
        description: Google Batch Update Values
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: spreadsheetId
          in: path
          type: string
          description: (Required)
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v4-spreadsheets-spreadsheetId-values:batchUpdateByDataFilter
      path: /v4/spreadsheets/{spreadsheetId}/values:batchUpdateByDataFilter
      operations:
      - name: post
        method: POST
        description: Google Update by Data Filter
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: spreadsheetId
          in: path
          type: string
          description: (Required)
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v4-spreadsheets-spreadsheetId}:batchUpdate
      path: /v4/spreadsheets/{spreadsheetId}:batchUpdate
      operations:
      - name: post
        method: POST
        description: Google Batch Update Sheets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: spreadsheetId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: sheets-update-rest
    port: 8080
    description: REST adapter for Google Sheets API — Update. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v4/spreadsheets/{spreadsheetid}/values/{range}
      name: v4-spreadsheets-spreadsheetid-values-range
      description: REST surface for v4-spreadsheets-spreadsheetId-values-range.
      operations:
      - method: PUT
        name: put
        description: Google Update Values
        call: sheets-update.put
        with:
          Content-Type: rest.Content-Type
          Accept: rest.Accept
          spreadsheetId: rest.spreadsheetId
          range: rest.range
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v4/spreadsheets/{spreadsheetid}/values-batchupdate
      name: v4-spreadsheets-spreadsheetid-values-batchupdate
      description: REST surface for v4-spreadsheets-spreadsheetId-values:batchUpdate.
      operations:
      - method: POST
        name: post
        description: Google Batch Update Values
        call: sheets-update.post
        with:
          Content-Type: rest.Content-Type
          Accept: rest.Accept
          spreadsheetId: rest.spreadsheetId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v4/spreadsheets/{spreadsheetid}/values-batchupdatebydatafilter
      name: v4-spreadsheets-spreadsheetid-values-batchupdatebydatafilter
      description: REST surface for v4-spreadsheets-spreadsheetId-values:batchUpdateByDataFilter.
      operations:
      - method: POST
        name: post
        description: Google Update by Data Filter
        call: sheets-update.post
        with:
          Content-Type: rest.Content-Type
          Accept: rest.Accept
          spreadsheetId: rest.spreadsheetId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v4/spreadsheets/spreadsheetid-batchupdate
      name: v4-spreadsheets-spreadsheetid-batchupdate
      description: REST surface for v4-spreadsheets-spreadsheetId}:batchUpdate.
      operations:
      - method: POST
        name: post
        description: Google Batch Update Sheets
        call: sheets-update.post
        with:
          Content-Type: rest.Content-Type
          Accept: rest.Accept
          spreadsheetId: rest.spreadsheetId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sheets-update-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Sheets API — Update. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: google-update-values
      description: Google Update Values
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: sheets-update.put
      with:
        Content-Type: tools.Content-Type
        Accept: tools.Accept
        spreadsheetId: tools.spreadsheetId
        range: tools.range
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-batch-update-values
      description: Google Batch Update Values
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sheets-update.post
      with:
        Content-Type: tools.Content-Type
        Accept: tools.Accept
        spreadsheetId: tools.spreadsheetId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-update-data-filter
      description: Google Update by Data Filter
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sheets-update.post
      with:
        Content-Type: tools.Content-Type
        Accept: tools.Accept
        spreadsheetId: tools.spreadsheetId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-batch-update-sheets
      description: Google Batch Update Sheets
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sheets-update.post
      with:
        Content-Type: tools.Content-Type
        Accept: tools.Accept
        spreadsheetId: tools.spreadsheetId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.