Tool: list_table_ids
List table ids in a BigQuery dataset.
The following sample demonstrate how to use curl
to invoke the list_table_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_table_ids", "arguments": { // provide these details according to the tool' s MCP specification } } , "jsonrpc" : "2.0" , "id" : 1 } ' |
Input Schema
Request for a list of tables in a dataset.
| JSON representation |
|---|
{ "projectId" : string , "datasetId" : string } |
| Fields | |
|---|---|
projectId
|
Required. Project ID of the table request. |
datasetId
|
Required. Dataset ID of the table request. |
Output Schema
Response for a list of tables.
| JSON representation |
|---|
{
"tables"
:
[
{
object (
|
| Fields | |
|---|---|
tables[]
|
The tables that matched the request. |
| JSON representation |
|---|
{ "id" : string } |
| Fields | |
|---|---|
id
|
The ID of the table. |
Tool Annotations
Destructive Hint: ❌ | Idempotent Hint: ✅ | Read Only Hint: ✅ | Open World Hint: ❌

