MCP Tools Reference: bigquery.googleapis.com

Alat: list_table_ids

Mencantumkan ID tabel dalam set data BigQuery.

Contoh berikut menunjukkan cara menggunakan curl untuk memanggil alat MCP list_table_ids.

Permintaan Curl
                  
curl --location 'https://bigquery.googleapis.com/mcp' \
--header 'content-type: application/json' \
--header 'accept: application/json, text/event-stream' \
--data '{
  "method": "tools/call",
  "params": {
    "name": "list_table_ids",
    "arguments": {
      // provide these details according to the tool's MCP specification
    }
  },
  "jsonrpc": "2.0",
  "id": 1
}'
                

Skema Input

Permintaan untuk daftar tabel dalam set data.

Representasi JSON
{
  "projectId": string,
  "datasetId": string
}
Kolom
projectId

string

Wajib. Project ID permintaan tabel.

datasetId

string

Wajib. ID set data permintaan tabel.

Skema Output

Respons untuk daftar tabel.

Representasi JSON
{
  "tables": [
    {
      object (ListFormatTable)
    }
  ]
}
Kolom
tables[]

object (ListFormatTable)

Tabel yang cocok dengan permintaan.

Representasi JSON
{
  "id": string
}
Kolom
id

string

ID tabel.

Anotasi Alat

Petunjuk Destruktif: ❌ | Petunjuk Idempoten: ✅ | Petunjuk Hanya Baca: ✅ | Petunjuk Dunia Terbuka: ❌