bigquery-list-dataset-ids Tool
A “bigquery-list-dataset-ids” tool returns all dataset IDs from the source.
less than a minute
About
A bigquery-list-dataset-ids tool returns all dataset IDs from the source.
bigquery-list-dataset-ids accepts the following parameter:
project(optional): Defines the Google Cloud project ID. If not provided, the tool defaults to the project from the source configuration.
The tool’s behavior regarding this parameter is influenced by the
allowedDatasets restriction on the bigquery source:
- Without
allowedDatasetsrestriction: The tool can list datasets from any project specified by theprojectparameter. - With
allowedDatasetsrestriction: The tool directly returns the pre-configured list of dataset IDs from the source, and theprojectparameter is ignored.
Compatible Sources
This tool can be used with the following database sources:
| Source Name |
|---|
| BigQuery Source |
Example
kind: tools
name: bigquery_list_dataset_ids
type: bigquery-list-dataset-ids
source: my-bigquery-source
description: Use this tool to get dataset metadata.
Reference
| field | type | required | description |
|---|---|---|---|
| type | string | true | Must be “bigquery-list-dataset-ids”. |
| source | string | true | Name of the source the SQL should execute on. |
| description | string | true | Description of the tool that is passed to the LLM. |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.