Tool: list_dataset_ids
BigQuery-Dataset-IDs in einem Google Cloud-Projekt auflisten.
Im folgenden Beispiel wird gezeigt, wie Sie mit curl das MCP-Tool list_dataset_ids aufrufen.
| Curl-Anfrage |
|---|
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 }' |
Eingabeschema
Anfrage nach einer Liste von Datasets in einem Projekt.
| JSON-Darstellung |
|---|
{ "projectId": string } |
| Felder | |
|---|---|
projectId |
Erforderlich. Projekt-ID der Dataset-Anfrage. |
Ausgabeschema
Antwort für eine Liste von Datasets.
| JSON-Darstellung |
|---|
{
"datasets": [
{
object ( |
| Felder | |
|---|---|
datasets[] |
Die Datasets, die der Anfrage entsprechen. |
| JSON-Darstellung |
|---|
{ "id": string, "friendlyName": string, "location": string } |
| Felder | |
|---|---|
id |
Die ID des Datasets. |
friendlyName |
Ein alternativer Name für das Dataset. Der Anzeigename dient nur zur Dekoration. Das kann nützlich sein, um zusätzliche Informationen über das Dataset abzuleiten. |
location |
Der geografische Standort des Datasets. |
| JSON-Darstellung |
|---|
{ "value": string } |
| Felder | |
|---|---|
value |
Stringwert. |
Tool-Annotationen
Destruktiver Hinweis: ❌ | Idempotenter Hinweis: ✅ | Nur-Lese-Hinweis: ✅ | Open-World-Hinweis: ❌