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 |
Required. Project ID of the dataset request. |
Output Schema
Response for a list of datasets.
| JSON representation |
|---|
{
"datasets": [
{
object ( |
| Fields | |
|---|---|
datasets[] |
The datasets that matched the request. |
| JSON representation |
|---|
{ "id": string, "friendlyName": string, "location": string } |
| Fields | |
|---|---|
id |
The ID of the dataset. |
friendlyName |
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 |
The geographic location where the dataset resides. |
| JSON representation |
|---|
{ "value": string } |
| Fields | |
|---|---|
value |
The string value. |
Tool Annotations
Destructive Hint: ❌ | Idempotent Hint: ✅ | Read Only Hint: ✅ | Open World Hint: ❌