google-bigquery__get_query_results
Get the results of a BigQuery SQL query job.
Use this tool ONLY when:
A previous
execute_sqlorexecute_sql_readonlycall returnedjobComplete: falsewith ajobId(poll with this tool untiljobComplete: true), ORYou need to paginate through additional rows using
pageTokenorstartIndexfor a previously completed job.
Do NOT call this tool if the query already returned jobComplete: true with all rows (no pageToken).
Supports pagination. Use maxResults to limit res
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"jobId": "<jobId>",
"location": "<location>"
},
"name": "google-bigquery__get_query_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | Required. Job ID of the query job. | |
| location | Yes | Required. The geographic location of the job. | |
| pageToken | No | Optional. Page token, returned by a previous call, to request the next page of results. | |
| projectId | Yes | Required. Project ID of the query job. | |
| timeoutMs | No | Optional. Specifies the maximum amount of time, in milliseconds, that the client is willing to wait for the query to complete. | |
| maxResults | No | Optional. Maximum number of results to read. Defaults to 3,000. | |
| startIndex | No | Optional. Zero-based index of the starting row. |