MCP Tools Reference: bigquery.googleapis.com

工具:get_dataset_info

获取有关 BigQuery 数据集的元数据信息。

以下示例演示了如何使用 curl 调用 get_dataset_info MCP 工具。

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

输入架构

请求获取数据集。

GetDatasetRequest

JSON 表示法
{
  "projectId": string,
  "datasetId": string
}
字段
projectId

string