Google BigQuery · Capability

Google BigQuery API — Tables

Google BigQuery API — Tables. 5 operations. Lead operation: Google BigQuery List tables. Self-contained Naftiko capability covering one Google Bigquery business surface.

Run with Naftiko Google BigqueryTables

What You Can Do

GET
Listtables — Google BigQuery List tables
/v1/projects/{projectid}/datasets/{datasetid}/tables
POST
Inserttable — Google BigQuery Create a table
/v1/projects/{projectid}/datasets/{datasetid}/tables
GET
Gettable — Google BigQuery Get table
/v1/projects/{projectid}/datasets/{datasetid}/tables/{tableid}
PATCH
Patchtable — Google BigQuery Partially update table
/v1/projects/{projectid}/datasets/{datasetid}/tables/{tableid}
DELETE
Deletetable — Google BigQuery Delete table
/v1/projects/{projectid}/datasets/{datasetid}/tables/{tableid}

MCP Tools

google-bigquery-list-tables

Google BigQuery List tables

read-only idempotent
google-bigquery-create-table

Google BigQuery Create a table

read-only
google-bigquery-get-table

Google BigQuery Get table

read-only idempotent
google-bigquery-partially-update-table

Google BigQuery Partially update table

idempotent
google-bigquery-delete-table

Google BigQuery Delete table

idempotent

Capability Spec

bigquery-tables.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google BigQuery API — Tables
  description: 'Google BigQuery API — Tables. 5 operations. Lead operation: Google BigQuery List tables. Self-contained Naftiko
    capability covering one Google Bigquery business surface.'
  tags:
  - Google Bigquery
  - Tables
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_BIGQUERY_API_KEY: GOOGLE_BIGQUERY_API_KEY
capability:
  consumes:
  - type: http
    namespace: bigquery-tables
    baseUri: https://bigquery.googleapis.com/bigquery/v2
    description: Google BigQuery API — Tables business capability. Self-contained, no shared references.
    resources:
    - name: projects-projectId-datasets-datasetId-tables
      path: /projects/{projectId}/datasets/{datasetId}/tables
      operations:
      - name: listtables
        method: GET
        description: Google BigQuery List tables
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: inserttable
        method: POST
        description: Google BigQuery Create a table
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: projects-projectId-datasets-datasetId-tables-tableId
      path: /projects/{projectId}/datasets/{datasetId}/tables/{tableId}
      operations:
      - name: gettable
        method: GET
        description: Google BigQuery Get table
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patchtable
        method: PATCH
        description: Google BigQuery Partially update table
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletetable
        method: DELETE
        description: Google BigQuery Delete table
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.GOOGLE_BIGQUERY_API_KEY}}'
  exposes:
  - type: rest
    namespace: bigquery-tables-rest
    port: 8080
    description: REST adapter for Google BigQuery API — Tables. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/projects/{projectid}/datasets/{datasetid}/tables
      name: projects-projectid-datasets-datasetid-tables
      description: REST surface for projects-projectId-datasets-datasetId-tables.
      operations:
      - method: GET
        name: listtables
        description: Google BigQuery List tables
        call: bigquery-tables.listtables
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: inserttable
        description: Google BigQuery Create a table
        call: bigquery-tables.inserttable
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectid}/datasets/{datasetid}/tables/{tableid}
      name: projects-projectid-datasets-datasetid-tables-tableid
      description: REST surface for projects-projectId-datasets-datasetId-tables-tableId.
      operations:
      - method: GET
        name: gettable
        description: Google BigQuery Get table
        call: bigquery-tables.gettable
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchtable
        description: Google BigQuery Partially update table
        call: bigquery-tables.patchtable
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletetable
        description: Google BigQuery Delete table
        call: bigquery-tables.deletetable
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bigquery-tables-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google BigQuery API — Tables. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: google-bigquery-list-tables
      description: Google BigQuery List tables
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bigquery-tables.listtables
      outputParameters:
      - type: object
        mapping: $.
    - name: google-bigquery-create-table
      description: Google BigQuery Create a table
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: bigquery-tables.inserttable
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-bigquery-get-table
      description: Google BigQuery Get table
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bigquery-tables.gettable
      outputParameters:
      - type: object
        mapping: $.
    - name: google-bigquery-partially-update-table
      description: Google BigQuery Partially update table
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: bigquery-tables.patchtable
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-bigquery-delete-table
      description: Google BigQuery Delete table
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: bigquery-tables.deletetable
      outputParameters:
      - type: object
        mapping: $.