MCP Tools Reference: bigquery.googleapis.com

Tool: list_dataset_ids

List BigQuery dataset IDs in a Google Cloud project.

The following sample demonstrate how to use curl to invoke the list_dataset_ids MCP tool.

Curl Request
                  
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_dataset_ids",
    "arguments": {
      // provide these details according to the tool's MCP specification
    }
  },
  "jsonrpc": "2.0",
  "id": 1
}'
                

Input Schema

Request for a list of datasets in a project.

JSON representation
{
  "projectId": string
}
Fields
projectId

string

Required. Project ID of the dataset request.

Output Schema

Response for a list of datasets.

JSON representation
{
  "datasets": [
    {
      object (ListFormatDataset)
    }
  ]
}
Fields
datasets[]

object (ListFormatDataset)

The datasets that matched the request.

JSON representation
{
  "id": string,
  "friendlyName": string,
  "location": string
}
Fields
id

string

The ID of the dataset.

friendlyName

string

An alternate name for the dataset. The friendly name is purely decorative in nature. This can be useful to derive additional information about the dataset.

location

string

The geographic location where the dataset resides.

JSON representation
{
  "value": string
}
Fields
value

string

The string value.

Tool Annotations

Destructive Hint: ❌ | Idempotent Hint: ✅ | Read Only Hint: ✅ | Open World Hint: ❌