Skip to content

feat(bigquery): Make credentials scope configurable#2210

Merged
shobsi merged 14 commits into
mainfrom
shobsi-config-scopes
Jan 7, 2026
Merged

feat(bigquery): Make credentials scope configurable#2210
shobsi merged 14 commits into
mainfrom
shobsi-config-scopes

Conversation

@shobsi

@shobsi shobsi commented Dec 19, 2025

Copy link
Copy Markdown
Contributor

Description

This change addresses the ask where the user may want to use custom scopes. For instance, the default scope (bigquery) falls short from running sql that utilizes integration with other google products, such as Drive, Vertex AI, Cloud Run etc. With this change the user would be able to configure custom scopes depending on their use case.

The custom scopes can be configured in the tools.yaml file, e.g.:

sources:
  bigquery-source:
    kind: "bigquery"
    project: ${BIGQUERY_PROJECT}
    location: ${BIGQUERY_LOCATION:}
    useClientOAuth: ${BIGQUERY_USE_CLIENT_OAUTH:false}
    scopes:
      - "https://www.googleapis.com/auth/bigquery"
      - "https://www.googleapis.com/auth/drive"

and if the bigquery prebuilt config is being used, then it can be set in the environment variable as well:

$ export BIGQUERY_SCOPES="https://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/drive"

PR Checklist

Thank you for opening a Pull Request! Before submitting your PR, there are a
few things you can do to make sure it goes smoothly:

  • Make sure you reviewed
    CONTRIBUTING.md
  • Make sure to open an issue as a
    bug/issue
    before writing your code! That way we can discuss the change, evaluate
    designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)
  • Make sure to add ! if this involve a breaking change

🛠️ Fixes #1942

This change addres the ask in
#1942 where the user
may want to use custom scopes. For instance, the default bigquery scope
falls short from running sql that utilizes integration with other
google products, such as Drive, Vertex AI, Cloud Run etc. With this
change the user would be able to configure custom scopes depending on
their use case.
@shobsi shobsi requested review from a team December 19, 2025 10:25
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @shobsi, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the flexibility of BigQuery integrations by introducing configurable OAuth scopes. Previously, BigQuery connections were limited to a default scope, which restricted its ability to interact with other Google Cloud services. With this update, users can now specify a list of custom scopes in their configuration, enabling broader and more tailored authorization for complex workflows involving services like Drive, Vertex AI, and Cloud Run. This change addresses a critical need for more versatile data operations and service interconnections.

Highlights

  • Configurable Scopes for BigQuery: Introduced a new scopes configuration option for BigQuery, allowing users to specify custom OAuth scopes beyond the default bigquery scope.
  • Enhanced Integration Capabilities: This change enables BigQuery to integrate seamlessly with other Google products like Drive, Vertex AI, and Cloud Run, which often require broader or specific authorization scopes not covered by the default.
  • Codebase Adaptation for Scope Handling: Modified BigQuery and Dataplex connection initialization logic to accept and utilize a list of custom scopes ([]string) instead of a single scope, providing greater flexibility.
  • YAML Configuration Update: The bigquery.yaml configuration file now supports a scopes field, making it straightforward to define required scopes directly in the configuration.
  • New Test Coverage: Added a new test case to validate the correct parsing and application of multiple custom scopes from YAML configurations.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a valuable feature by allowing users to configure custom scopes for BigQuery credentials. This is particularly useful for integrations with other Google products. The implementation is well-structured, touching the configuration, source initialization, and related tool code. I've included a couple of suggestions to refactor the logic for setting default scopes, aiming to improve code clarity and reduce duplication. Overall, this is a solid contribution.

Comment thread internal/sources/bigquery/bigquery.go
Comment thread internal/sources/bigquery/bigquery.go Outdated
@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

@shobsi shobsi requested a review from duwenxin99 January 2, 2026 22:44
Comment thread docs/BIGQUERY_README.md
Comment thread internal/sources/bigquery/bigquery.go
@github-actions

github-actions Bot commented Jan 4, 2026

Copy link
Copy Markdown
Contributor

@shobsi shobsi requested a review from duwenxin99 January 4, 2026 08:09
@github-actions

github-actions Bot commented Jan 4, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

Comment thread internal/sources/bigquery/bigquery.go Outdated
@github-actions

github-actions Bot commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

github-actions Bot pushed a commit to ishatilwani1301/genai-toolbox that referenced this pull request Jan 7, 2026
…is#2210)

## Description

This change addresses the ask where the user may want to use custom
scopes. For instance, the default scope (bigquery) falls short from
running sql that utilizes integration with other google products, such
as Drive, Vertex AI, Cloud Run etc. With this change the user would be
able to configure custom scopes depending on their use case.

The custom scopes can be configured in the tools.yaml file, e.g.:

```yaml
sources:
  bigquery-source:
    kind: "bigquery"
    project: ${BIGQUERY_PROJECT}
    location: ${BIGQUERY_LOCATION:}
    useClientOAuth: ${BIGQUERY_USE_CLIENT_OAUTH:false}
    scopes:
      - "https://www.googleapis.com/auth/bigquery"
      - "https://www.googleapis.com/auth/drive"
```

and if the [bigquery prebuilt
config](https://github.com/googleapis/genai-toolbox/blob/main/internal/prebuiltconfigs/tools/bigquery.yaml)
is being used, then it can be set in the environment variable as well:

```shell
$ export BIGQUERY_SCOPES="https://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/drive"
```

## PR Checklist

> Thank you for opening a Pull Request! Before submitting your PR, there
are a
> few things you can do to make sure it goes smoothly:

- [ ] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [x] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
  before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [ ] Make sure to add `!` if this involve a breaking change

🛠️ Fixes googleapis#1942 a450600
github-actions Bot pushed a commit to AjmeraParth132/genai-toolbox that referenced this pull request Jan 7, 2026
…is#2210)

## Description

This change addresses the ask where the user may want to use custom
scopes. For instance, the default scope (bigquery) falls short from
running sql that utilizes integration with other google products, such
as Drive, Vertex AI, Cloud Run etc. With this change the user would be
able to configure custom scopes depending on their use case.

The custom scopes can be configured in the tools.yaml file, e.g.:

```yaml
sources:
  bigquery-source:
    kind: "bigquery"
    project: ${BIGQUERY_PROJECT}
    location: ${BIGQUERY_LOCATION:}
    useClientOAuth: ${BIGQUERY_USE_CLIENT_OAUTH:false}
    scopes:
      - "https://www.googleapis.com/auth/bigquery"
      - "https://www.googleapis.com/auth/drive"
```

and if the [bigquery prebuilt
config](https://github.com/googleapis/genai-toolbox/blob/main/internal/prebuiltconfigs/tools/bigquery.yaml)
is being used, then it can be set in the environment variable as well:

```shell
$ export BIGQUERY_SCOPES="https://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/drive"
```

## PR Checklist

> Thank you for opening a Pull Request! Before submitting your PR, there
are a
> few things you can do to make sure it goes smoothly:

- [ ] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [x] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
  before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [ ] Make sure to add `!` if this involve a breaking change

🛠️ Fixes googleapis#1942 a450600
github-actions Bot pushed a commit to zhubby/genai-toolbox that referenced this pull request Jan 7, 2026
…is#2210)

## Description

This change addresses the ask where the user may want to use custom
scopes. For instance, the default scope (bigquery) falls short from
running sql that utilizes integration with other google products, such
as Drive, Vertex AI, Cloud Run etc. With this change the user would be
able to configure custom scopes depending on their use case.

The custom scopes can be configured in the tools.yaml file, e.g.:

```yaml
sources:
  bigquery-source:
    kind: "bigquery"
    project: ${BIGQUERY_PROJECT}
    location: ${BIGQUERY_LOCATION:}
    useClientOAuth: ${BIGQUERY_USE_CLIENT_OAUTH:false}
    scopes:
      - "https://www.googleapis.com/auth/bigquery"
      - "https://www.googleapis.com/auth/drive"
```

and if the [bigquery prebuilt
config](https://github.com/googleapis/genai-toolbox/blob/main/internal/prebuiltconfigs/tools/bigquery.yaml)
is being used, then it can be set in the environment variable as well:

```shell
$ export BIGQUERY_SCOPES="https://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/drive"
```

## PR Checklist

> Thank you for opening a Pull Request! Before submitting your PR, there
are a
> few things you can do to make sure it goes smoothly:

- [ ] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [x] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
  before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [ ] Make sure to add `!` if this involve a breaking change

🛠️ Fixes googleapis#1942 a450600
github-actions Bot pushed a commit to CrazyForks/genai-toolbox that referenced this pull request Jan 7, 2026
…is#2210)

## Description

This change addresses the ask where the user may want to use custom
scopes. For instance, the default scope (bigquery) falls short from
running sql that utilizes integration with other google products, such
as Drive, Vertex AI, Cloud Run etc. With this change the user would be
able to configure custom scopes depending on their use case.

The custom scopes can be configured in the tools.yaml file, e.g.:

```yaml
sources:
  bigquery-source:
    kind: "bigquery"
    project: ${BIGQUERY_PROJECT}
    location: ${BIGQUERY_LOCATION:}
    useClientOAuth: ${BIGQUERY_USE_CLIENT_OAUTH:false}
    scopes:
      - "https://www.googleapis.com/auth/bigquery"
      - "https://www.googleapis.com/auth/drive"
```

and if the [bigquery prebuilt
config](https://github.com/googleapis/genai-toolbox/blob/main/internal/prebuiltconfigs/tools/bigquery.yaml)
is being used, then it can be set in the environment variable as well:

```shell
$ export BIGQUERY_SCOPES="https://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/drive"
```

## PR Checklist

> Thank you for opening a Pull Request! Before submitting your PR, there
are a
> few things you can do to make sure it goes smoothly:

- [ ] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [x] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
  before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [ ] Make sure to add `!` if this involve a breaking change

🛠️ Fixes googleapis#1942 a450600
github-actions Bot pushed a commit to bhardwajRahul/genai-toolbox that referenced this pull request Jan 7, 2026
…is#2210)

## Description

This change addresses the ask where the user may want to use custom
scopes. For instance, the default scope (bigquery) falls short from
running sql that utilizes integration with other google products, such
as Drive, Vertex AI, Cloud Run etc. With this change the user would be
able to configure custom scopes depending on their use case.

The custom scopes can be configured in the tools.yaml file, e.g.:

```yaml
sources:
  bigquery-source:
    kind: "bigquery"
    project: ${BIGQUERY_PROJECT}
    location: ${BIGQUERY_LOCATION:}
    useClientOAuth: ${BIGQUERY_USE_CLIENT_OAUTH:false}
    scopes:
      - "https://www.googleapis.com/auth/bigquery"
      - "https://www.googleapis.com/auth/drive"
```

and if the [bigquery prebuilt
config](https://github.com/googleapis/genai-toolbox/blob/main/internal/prebuiltconfigs/tools/bigquery.yaml)
is being used, then it can be set in the environment variable as well:

```shell
$ export BIGQUERY_SCOPES="https://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/drive"
```

## PR Checklist

> Thank you for opening a Pull Request! Before submitting your PR, there
are a
> few things you can do to make sure it goes smoothly:

- [ ] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [x] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
  before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [ ] Make sure to add `!` if this involve a breaking change

🛠️ Fixes googleapis#1942 a450600
ravisiddhu pushed a commit to ravisiddhu/genai-toolbox that referenced this pull request Jan 8, 2026
## Description

This change addresses the ask where the user may want to use custom
scopes. For instance, the default scope (bigquery) falls short from
running sql that utilizes integration with other google products, such
as Drive, Vertex AI, Cloud Run etc. With this change the user would be
able to configure custom scopes depending on their use case.

The custom scopes can be configured in the tools.yaml file, e.g.:

```yaml
sources:
  bigquery-source:
    kind: "bigquery"
    project: ${BIGQUERY_PROJECT}
    location: ${BIGQUERY_LOCATION:}
    useClientOAuth: ${BIGQUERY_USE_CLIENT_OAUTH:false}
    scopes:
      - "https://www.googleapis.com/auth/bigquery"
      - "https://www.googleapis.com/auth/drive"
```

and if the [bigquery prebuilt
config](https://github.com/googleapis/genai-toolbox/blob/main/internal/prebuiltconfigs/tools/bigquery.yaml)
is being used, then it can be set in the environment variable as well:

```shell
$ export BIGQUERY_SCOPES="https://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/drive"
```

## PR Checklist

> Thank you for opening a Pull Request! Before submitting your PR, there
are a
> few things you can do to make sure it goes smoothly:

- [ ] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [x] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
  before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [ ] Make sure to add `!` if this involve a breaking change

🛠️ Fixes googleapis#1942
Yuan325 added a commit that referenced this pull request Jan 8, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.25.0](v0.24.0...v0.25.0)
(2026-01-08)


### Features

* Add `embeddingModel` support
([#2121](#2121))
([9c62f31](9c62f31))
* Add `allowed-hosts` flag
([#2254](#2254))
([17b41f6](17b41f6))
* Add parameter default value to manifest
([#2264](#2264))
([9d1feca](9d1feca))
* **snowflake:** Add Snowflake Source and Tools
([#858](#858))
([b706b5b](b706b5b))
* **prebuilt/cloud-sql-mysql:** Update CSQL MySQL prebuilt tools to use
IAM ([#2202](#2202))
([731a32e](731a32e))
* **sources/bigquery:** Make credentials scope configurable
([#2210](#2210))
([a450600](a450600))
* **sources/trino:** Add ssl verification options and fix docs example
([#2155](#2155))
([4a4cf1e](4a4cf1e))
* **tools/looker:** Add ability to set destination folder with
`make_look` and `make_dashboard`.
([#2245](#2245))
([eb79339](eb79339))
* **tools/postgressql:** Add tool to list store procedure
([#2156](#2156))
([cf0fc51](cf0fc51))
* **tools/postgressql:** Add Parameter `embeddedBy` config support
([#2151](#2151))
([17b70cc](17b70cc))


### Bug Fixes

* **server:** Add `embeddingModel` config initialization
([#2281](#2281))
([a779975](a779975))
* **sources/cloudgda:** Add import for cloudgda source
([#2217](#2217))
([7daa411](7daa411))
* **tools/alloydb-wait-for-operation:** Fix connection message
generation
([#2228](#2228))
([7053fbb](7053fbb))
* **tools/alloydbainl:** Only add psv when NL Config Param is defined
([#2265](#2265))
([ef8f3b0](ef8f3b0))
* **tools/looker:** Looker client OAuth nil pointer error
([#2231](#2231))
([268700b](268700b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
github-actions Bot pushed a commit that referenced this pull request Jan 8, 2026
🤖 I have created a release *beep* *boop*
---

##
[0.25.0](v0.24.0...v0.25.0)
(2026-01-08)

### Features

* Add `embeddingModel` support
([#2121](#2121))
([9c62f31](9c62f31))
* Add `allowed-hosts` flag
([#2254](#2254))
([17b41f6](17b41f6))
* Add parameter default value to manifest
([#2264](#2264))
([9d1feca](9d1feca))
* **snowflake:** Add Snowflake Source and Tools
([#858](#858))
([b706b5b](b706b5b))
* **prebuilt/cloud-sql-mysql:** Update CSQL MySQL prebuilt tools to use
IAM ([#2202](#2202))
([731a32e](731a32e))
* **sources/bigquery:** Make credentials scope configurable
([#2210](#2210))
([a450600](a450600))
* **sources/trino:** Add ssl verification options and fix docs example
([#2155](#2155))
([4a4cf1e](4a4cf1e))
* **tools/looker:** Add ability to set destination folder with
`make_look` and `make_dashboard`.
([#2245](#2245))
([eb79339](eb79339))
* **tools/postgressql:** Add tool to list store procedure
([#2156](#2156))
([cf0fc51](cf0fc51))
* **tools/postgressql:** Add Parameter `embeddedBy` config support
([#2151](#2151))
([17b70cc](17b70cc))

### Bug Fixes

* **server:** Add `embeddingModel` config initialization
([#2281](#2281))
([a779975](a779975))
* **sources/cloudgda:** Add import for cloudgda source
([#2217](#2217))
([7daa411](7daa411))
* **tools/alloydb-wait-for-operation:** Fix connection message
generation
([#2228](#2228))
([7053fbb](7053fbb))
* **tools/alloydbainl:** Only add psv when NL Config Param is defined
([#2265](#2265))
([ef8f3b0](ef8f3b0))
* **tools/looker:** Looker client OAuth nil pointer error
([#2231](#2231))
([268700b](268700b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 41b518b
github-actions Bot pushed a commit to Jaleel-zhu/genai-toolbox that referenced this pull request Jan 8, 2026
🤖 I have created a release *beep* *boop*
---

##
[0.25.0](googleapis/mcp-toolbox@v0.24.0...v0.25.0)
(2026-01-08)

### Features

* Add `embeddingModel` support
([googleapis#2121](googleapis#2121))
([9c62f31](googleapis@9c62f31))
* Add `allowed-hosts` flag
([googleapis#2254](googleapis#2254))
([17b41f6](googleapis@17b41f6))
* Add parameter default value to manifest
([googleapis#2264](googleapis#2264))
([9d1feca](googleapis@9d1feca))
* **snowflake:** Add Snowflake Source and Tools
([googleapis#858](googleapis#858))
([b706b5b](googleapis@b706b5b))
* **prebuilt/cloud-sql-mysql:** Update CSQL MySQL prebuilt tools to use
IAM ([googleapis#2202](googleapis#2202))
([731a32e](googleapis@731a32e))
* **sources/bigquery:** Make credentials scope configurable
([googleapis#2210](googleapis#2210))
([a450600](googleapis@a450600))
* **sources/trino:** Add ssl verification options and fix docs example
([googleapis#2155](googleapis#2155))
([4a4cf1e](googleapis@4a4cf1e))
* **tools/looker:** Add ability to set destination folder with
`make_look` and `make_dashboard`.
([googleapis#2245](googleapis#2245))
([eb79339](googleapis@eb79339))
* **tools/postgressql:** Add tool to list store procedure
([googleapis#2156](googleapis#2156))
([cf0fc51](googleapis@cf0fc51))
* **tools/postgressql:** Add Parameter `embeddedBy` config support
([googleapis#2151](googleapis#2151))
([17b70cc](googleapis@17b70cc))

### Bug Fixes

* **server:** Add `embeddingModel` config initialization
([googleapis#2281](googleapis#2281))
([a779975](googleapis@a779975))
* **sources/cloudgda:** Add import for cloudgda source
([googleapis#2217](googleapis#2217))
([7daa411](googleapis@7daa411))
* **tools/alloydb-wait-for-operation:** Fix connection message
generation
([googleapis#2228](googleapis#2228))
([7053fbb](googleapis@7053fbb))
* **tools/alloydbainl:** Only add psv when NL Config Param is defined
([googleapis#2265](googleapis#2265))
([ef8f3b0](googleapis@ef8f3b0))
* **tools/looker:** Looker client OAuth nil pointer error
([googleapis#2231](googleapis#2231))
([268700b](googleapis@268700b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 41b518b
github-actions Bot pushed a commit to azaj01/genai-toolbox that referenced this pull request Jan 9, 2026
🤖 I have created a release *beep* *boop*
---

##
[0.25.0](googleapis/mcp-toolbox@v0.24.0...v0.25.0)
(2026-01-08)

### Features

* Add `embeddingModel` support
([googleapis#2121](googleapis#2121))
([9c62f31](googleapis@9c62f31))
* Add `allowed-hosts` flag
([googleapis#2254](googleapis#2254))
([17b41f6](googleapis@17b41f6))
* Add parameter default value to manifest
([googleapis#2264](googleapis#2264))
([9d1feca](googleapis@9d1feca))
* **snowflake:** Add Snowflake Source and Tools
([googleapis#858](googleapis#858))
([b706b5b](googleapis@b706b5b))
* **prebuilt/cloud-sql-mysql:** Update CSQL MySQL prebuilt tools to use
IAM ([googleapis#2202](googleapis#2202))
([731a32e](googleapis@731a32e))
* **sources/bigquery:** Make credentials scope configurable
([googleapis#2210](googleapis#2210))
([a450600](googleapis@a450600))
* **sources/trino:** Add ssl verification options and fix docs example
([googleapis#2155](googleapis#2155))
([4a4cf1e](googleapis@4a4cf1e))
* **tools/looker:** Add ability to set destination folder with
`make_look` and `make_dashboard`.
([googleapis#2245](googleapis#2245))
([eb79339](googleapis@eb79339))
* **tools/postgressql:** Add tool to list store procedure
([googleapis#2156](googleapis#2156))
([cf0fc51](googleapis@cf0fc51))
* **tools/postgressql:** Add Parameter `embeddedBy` config support
([googleapis#2151](googleapis#2151))
([17b70cc](googleapis@17b70cc))

### Bug Fixes

* **server:** Add `embeddingModel` config initialization
([googleapis#2281](googleapis#2281))
([a779975](googleapis@a779975))
* **sources/cloudgda:** Add import for cloudgda source
([googleapis#2217](googleapis#2217))
([7daa411](googleapis@7daa411))
* **tools/alloydb-wait-for-operation:** Fix connection message
generation
([googleapis#2228](googleapis#2228))
([7053fbb](googleapis@7053fbb))
* **tools/alloydbainl:** Only add psv when NL Config Param is defined
([googleapis#2265](googleapis#2265))
([ef8f3b0](googleapis@ef8f3b0))
* **tools/looker:** Looker client OAuth nil pointer error
([googleapis#2231](googleapis#2231))
([268700b](googleapis@268700b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 41b518b
github-actions Bot pushed a commit to renovate-bot/googleapis-_-genai-toolbox that referenced this pull request Jan 9, 2026
🤖 I have created a release *beep* *boop*
---

##
[0.25.0](googleapis/mcp-toolbox@v0.24.0...v0.25.0)
(2026-01-08)

### Features

* Add `embeddingModel` support
([googleapis#2121](googleapis#2121))
([9c62f31](googleapis@9c62f31))
* Add `allowed-hosts` flag
([googleapis#2254](googleapis#2254))
([17b41f6](googleapis@17b41f6))
* Add parameter default value to manifest
([googleapis#2264](googleapis#2264))
([9d1feca](googleapis@9d1feca))
* **snowflake:** Add Snowflake Source and Tools
([googleapis#858](googleapis#858))
([b706b5b](googleapis@b706b5b))
* **prebuilt/cloud-sql-mysql:** Update CSQL MySQL prebuilt tools to use
IAM ([googleapis#2202](googleapis#2202))
([731a32e](googleapis@731a32e))
* **sources/bigquery:** Make credentials scope configurable
([googleapis#2210](googleapis#2210))
([a450600](googleapis@a450600))
* **sources/trino:** Add ssl verification options and fix docs example
([googleapis#2155](googleapis#2155))
([4a4cf1e](googleapis@4a4cf1e))
* **tools/looker:** Add ability to set destination folder with
`make_look` and `make_dashboard`.
([googleapis#2245](googleapis#2245))
([eb79339](googleapis@eb79339))
* **tools/postgressql:** Add tool to list store procedure
([googleapis#2156](googleapis#2156))
([cf0fc51](googleapis@cf0fc51))
* **tools/postgressql:** Add Parameter `embeddedBy` config support
([googleapis#2151](googleapis#2151))
([17b70cc](googleapis@17b70cc))

### Bug Fixes

* **server:** Add `embeddingModel` config initialization
([googleapis#2281](googleapis#2281))
([a779975](googleapis@a779975))
* **sources/cloudgda:** Add import for cloudgda source
([googleapis#2217](googleapis#2217))
([7daa411](googleapis@7daa411))
* **tools/alloydb-wait-for-operation:** Fix connection message
generation
([googleapis#2228](googleapis#2228))
([7053fbb](googleapis@7053fbb))
* **tools/alloydbainl:** Only add psv when NL Config Param is defined
([googleapis#2265](googleapis#2265))
([ef8f3b0](googleapis@ef8f3b0))
* **tools/looker:** Looker client OAuth nil pointer error
([googleapis#2231](googleapis#2231))
([268700b](googleapis@268700b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 41b518b
github-actions Bot pushed a commit to TheTechOddBug/genai-toolbox that referenced this pull request Jan 9, 2026
…is#2210)

## Description

This change addresses the ask where the user may want to use custom
scopes. For instance, the default scope (bigquery) falls short from
running sql that utilizes integration with other google products, such
as Drive, Vertex AI, Cloud Run etc. With this change the user would be
able to configure custom scopes depending on their use case.

The custom scopes can be configured in the tools.yaml file, e.g.:

```yaml
sources:
  bigquery-source:
    kind: "bigquery"
    project: ${BIGQUERY_PROJECT}
    location: ${BIGQUERY_LOCATION:}
    useClientOAuth: ${BIGQUERY_USE_CLIENT_OAUTH:false}
    scopes:
      - "https://www.googleapis.com/auth/bigquery"
      - "https://www.googleapis.com/auth/drive"
```

and if the [bigquery prebuilt
config](https://github.com/googleapis/genai-toolbox/blob/main/internal/prebuiltconfigs/tools/bigquery.yaml)
is being used, then it can be set in the environment variable as well:

```shell
$ export BIGQUERY_SCOPES="https://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/drive"
```

## PR Checklist

> Thank you for opening a Pull Request! Before submitting your PR, there
are a
> few things you can do to make sure it goes smoothly:

- [ ] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [x] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
  before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [ ] Make sure to add `!` if this involve a breaking change

🛠️ Fixes googleapis#1942 a450600
rahulpinto19 pushed a commit that referenced this pull request Jan 9, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.25.0](v0.24.0...v0.25.0)
(2026-01-08)


### Features

* Add `embeddingModel` support
([#2121](#2121))
([9c62f31](9c62f31))
* Add `allowed-hosts` flag
([#2254](#2254))
([17b41f6](17b41f6))
* Add parameter default value to manifest
([#2264](#2264))
([9d1feca](9d1feca))
* **snowflake:** Add Snowflake Source and Tools
([#858](#858))
([b706b5b](b706b5b))
* **prebuilt/cloud-sql-mysql:** Update CSQL MySQL prebuilt tools to use
IAM ([#2202](#2202))
([731a32e](731a32e))
* **sources/bigquery:** Make credentials scope configurable
([#2210](#2210))
([a450600](a450600))
* **sources/trino:** Add ssl verification options and fix docs example
([#2155](#2155))
([4a4cf1e](4a4cf1e))
* **tools/looker:** Add ability to set destination folder with
`make_look` and `make_dashboard`.
([#2245](#2245))
([eb79339](eb79339))
* **tools/postgressql:** Add tool to list store procedure
([#2156](#2156))
([cf0fc51](cf0fc51))
* **tools/postgressql:** Add Parameter `embeddedBy` config support
([#2151](#2151))
([17b70cc](17b70cc))


### Bug Fixes

* **server:** Add `embeddingModel` config initialization
([#2281](#2281))
([a779975](a779975))
* **sources/cloudgda:** Add import for cloudgda source
([#2217](#2217))
([7daa411](7daa411))
* **tools/alloydb-wait-for-operation:** Fix connection message
generation
([#2228](#2228))
([7053fbb](7053fbb))
* **tools/alloydbainl:** Only add psv when NL Config Param is defined
([#2265](#2265))
([ef8f3b0](ef8f3b0))
* **tools/looker:** Looker client OAuth nil pointer error
([#2231](#2231))
([268700b](268700b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
github-actions Bot pushed a commit to SaxenaAnushka102/genai-toolbox that referenced this pull request Jan 9, 2026
🤖 I have created a release *beep* *boop*
---

##
[0.25.0](googleapis/mcp-toolbox@v0.24.0...v0.25.0)
(2026-01-08)

### Features

* Add `embeddingModel` support
([googleapis#2121](googleapis#2121))
([9c62f31](googleapis@9c62f31))
* Add `allowed-hosts` flag
([googleapis#2254](googleapis#2254))
([17b41f6](googleapis@17b41f6))
* Add parameter default value to manifest
([googleapis#2264](googleapis#2264))
([9d1feca](googleapis@9d1feca))
* **snowflake:** Add Snowflake Source and Tools
([googleapis#858](googleapis#858))
([b706b5b](googleapis@b706b5b))
* **prebuilt/cloud-sql-mysql:** Update CSQL MySQL prebuilt tools to use
IAM ([googleapis#2202](googleapis#2202))
([731a32e](googleapis@731a32e))
* **sources/bigquery:** Make credentials scope configurable
([googleapis#2210](googleapis#2210))
([a450600](googleapis@a450600))
* **sources/trino:** Add ssl verification options and fix docs example
([googleapis#2155](googleapis#2155))
([4a4cf1e](googleapis@4a4cf1e))
* **tools/looker:** Add ability to set destination folder with
`make_look` and `make_dashboard`.
([googleapis#2245](googleapis#2245))
([eb79339](googleapis@eb79339))
* **tools/postgressql:** Add tool to list store procedure
([googleapis#2156](googleapis#2156))
([cf0fc51](googleapis@cf0fc51))
* **tools/postgressql:** Add Parameter `embeddedBy` config support
([googleapis#2151](googleapis#2151))
([17b70cc](googleapis@17b70cc))

### Bug Fixes

* **server:** Add `embeddingModel` config initialization
([googleapis#2281](googleapis#2281))
([a779975](googleapis@a779975))
* **sources/cloudgda:** Add import for cloudgda source
([googleapis#2217](googleapis#2217))
([7daa411](googleapis@7daa411))
* **tools/alloydb-wait-for-operation:** Fix connection message
generation
([googleapis#2228](googleapis#2228))
([7053fbb](googleapis@7053fbb))
* **tools/alloydbainl:** Only add psv when NL Config Param is defined
([googleapis#2265](googleapis#2265))
([ef8f3b0](googleapis@ef8f3b0))
* **tools/looker:** Looker client OAuth nil pointer error
([googleapis#2231](googleapis#2231))
([268700b](googleapis@268700b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 41b518b
github-actions Bot pushed a commit to Ganga4060/genai-toolbox that referenced this pull request Jan 9, 2026
🤖 I have created a release *beep* *boop*
---

##
[0.25.0](googleapis/mcp-toolbox@v0.24.0...v0.25.0)
(2026-01-08)

### Features

* Add `embeddingModel` support
([googleapis#2121](googleapis#2121))
([9c62f31](googleapis@9c62f31))
* Add `allowed-hosts` flag
([googleapis#2254](googleapis#2254))
([17b41f6](googleapis@17b41f6))
* Add parameter default value to manifest
([googleapis#2264](googleapis#2264))
([9d1feca](googleapis@9d1feca))
* **snowflake:** Add Snowflake Source and Tools
([googleapis#858](googleapis#858))
([b706b5b](googleapis@b706b5b))
* **prebuilt/cloud-sql-mysql:** Update CSQL MySQL prebuilt tools to use
IAM ([googleapis#2202](googleapis#2202))
([731a32e](googleapis@731a32e))
* **sources/bigquery:** Make credentials scope configurable
([googleapis#2210](googleapis#2210))
([a450600](googleapis@a450600))
* **sources/trino:** Add ssl verification options and fix docs example
([googleapis#2155](googleapis#2155))
([4a4cf1e](googleapis@4a4cf1e))
* **tools/looker:** Add ability to set destination folder with
`make_look` and `make_dashboard`.
([googleapis#2245](googleapis#2245))
([eb79339](googleapis@eb79339))
* **tools/postgressql:** Add tool to list store procedure
([googleapis#2156](googleapis#2156))
([cf0fc51](googleapis@cf0fc51))
* **tools/postgressql:** Add Parameter `embeddedBy` config support
([googleapis#2151](googleapis#2151))
([17b70cc](googleapis@17b70cc))

### Bug Fixes

* **server:** Add `embeddingModel` config initialization
([googleapis#2281](googleapis#2281))
([a779975](googleapis@a779975))
* **sources/cloudgda:** Add import for cloudgda source
([googleapis#2217](googleapis#2217))
([7daa411](googleapis@7daa411))
* **tools/alloydb-wait-for-operation:** Fix connection message
generation
([googleapis#2228](googleapis#2228))
([7053fbb](googleapis@7053fbb))
* **tools/alloydbainl:** Only add psv when NL Config Param is defined
([googleapis#2265](googleapis#2265))
([ef8f3b0](googleapis@ef8f3b0))
* **tools/looker:** Looker client OAuth nil pointer error
([googleapis#2231](googleapis#2231))
([268700b](googleapis@268700b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 41b518b
github-actions Bot pushed a commit to divitwork/genai-toolbox that referenced this pull request Jan 9, 2026
🤖 I have created a release *beep* *boop*
---

##
[0.25.0](googleapis/mcp-toolbox@v0.24.0...v0.25.0)
(2026-01-08)

### Features

* Add `embeddingModel` support
([googleapis#2121](googleapis#2121))
([9c62f31](googleapis@9c62f31))
* Add `allowed-hosts` flag
([googleapis#2254](googleapis#2254))
([17b41f6](googleapis@17b41f6))
* Add parameter default value to manifest
([googleapis#2264](googleapis#2264))
([9d1feca](googleapis@9d1feca))
* **snowflake:** Add Snowflake Source and Tools
([googleapis#858](googleapis#858))
([b706b5b](googleapis@b706b5b))
* **prebuilt/cloud-sql-mysql:** Update CSQL MySQL prebuilt tools to use
IAM ([googleapis#2202](googleapis#2202))
([731a32e](googleapis@731a32e))
* **sources/bigquery:** Make credentials scope configurable
([googleapis#2210](googleapis#2210))
([a450600](googleapis@a450600))
* **sources/trino:** Add ssl verification options and fix docs example
([googleapis#2155](googleapis#2155))
([4a4cf1e](googleapis@4a4cf1e))
* **tools/looker:** Add ability to set destination folder with
`make_look` and `make_dashboard`.
([googleapis#2245](googleapis#2245))
([eb79339](googleapis@eb79339))
* **tools/postgressql:** Add tool to list store procedure
([googleapis#2156](googleapis#2156))
([cf0fc51](googleapis@cf0fc51))
* **tools/postgressql:** Add Parameter `embeddedBy` config support
([googleapis#2151](googleapis#2151))
([17b70cc](googleapis@17b70cc))

### Bug Fixes

* **server:** Add `embeddingModel` config initialization
([googleapis#2281](googleapis#2281))
([a779975](googleapis@a779975))
* **sources/cloudgda:** Add import for cloudgda source
([googleapis#2217](googleapis#2217))
([7daa411](googleapis@7daa411))
* **tools/alloydb-wait-for-operation:** Fix connection message
generation
([googleapis#2228](googleapis#2228))
([7053fbb](googleapis@7053fbb))
* **tools/alloydbainl:** Only add psv when NL Config Param is defined
([googleapis#2265](googleapis#2265))
([ef8f3b0](googleapis@ef8f3b0))
* **tools/looker:** Looker client OAuth nil pointer error
([googleapis#2231](googleapis#2231))
([268700b](googleapis@268700b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 41b518b
divitwork pushed a commit to divitwork/genai-toolbox that referenced this pull request Jan 9, 2026
This change addresses the ask where the user may want to use custom
scopes. For instance, the default scope (bigquery) falls short from
running sql that utilizes integration with other google products, such
as Drive, Vertex AI, Cloud Run etc. With this change the user would be
able to configure custom scopes depending on their use case.

The custom scopes can be configured in the tools.yaml file, e.g.:

```yaml
sources:
  bigquery-source:
    kind: "bigquery"
    project: ${BIGQUERY_PROJECT}
    location: ${BIGQUERY_LOCATION:}
    useClientOAuth: ${BIGQUERY_USE_CLIENT_OAUTH:false}
    scopes:
      - "https://www.googleapis.com/auth/bigquery"
      - "https://www.googleapis.com/auth/drive"
```

and if the [bigquery prebuilt
config](https://github.com/googleapis/genai-toolbox/blob/main/internal/prebuiltconfigs/tools/bigquery.yaml)
is being used, then it can be set in the environment variable as well:

```shell
$ export BIGQUERY_SCOPES="https://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/drive"
```

> Thank you for opening a Pull Request! Before submitting your PR, there
are a
> few things you can do to make sure it goes smoothly:

- [ ] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [x] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
  before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [ ] Make sure to add `!` if this involve a breaking change

🛠️ Fixes googleapis#1942
divitwork pushed a commit to divitwork/genai-toolbox that referenced this pull request Jan 9, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.25.0](googleapis/mcp-toolbox@v0.24.0...v0.25.0)
(2026-01-08)


### Features

* Add `embeddingModel` support
([googleapis#2121](googleapis#2121))
([9c62f31](googleapis@9c62f31))
* Add `allowed-hosts` flag
([googleapis#2254](googleapis#2254))
([17b41f6](googleapis@17b41f6))
* Add parameter default value to manifest
([googleapis#2264](googleapis#2264))
([9d1feca](googleapis@9d1feca))
* **snowflake:** Add Snowflake Source and Tools
([googleapis#858](googleapis#858))
([b706b5b](googleapis@b706b5b))
* **prebuilt/cloud-sql-mysql:** Update CSQL MySQL prebuilt tools to use
IAM ([googleapis#2202](googleapis#2202))
([731a32e](googleapis@731a32e))
* **sources/bigquery:** Make credentials scope configurable
([googleapis#2210](googleapis#2210))
([a450600](googleapis@a450600))
* **sources/trino:** Add ssl verification options and fix docs example
([googleapis#2155](googleapis#2155))
([4a4cf1e](googleapis@4a4cf1e))
* **tools/looker:** Add ability to set destination folder with
`make_look` and `make_dashboard`.
([googleapis#2245](googleapis#2245))
([eb79339](googleapis@eb79339))
* **tools/postgressql:** Add tool to list store procedure
([googleapis#2156](googleapis#2156))
([cf0fc51](googleapis@cf0fc51))
* **tools/postgressql:** Add Parameter `embeddedBy` config support
([googleapis#2151](googleapis#2151))
([17b70cc](googleapis@17b70cc))


### Bug Fixes

* **server:** Add `embeddingModel` config initialization
([googleapis#2281](googleapis#2281))
([a779975](googleapis@a779975))
* **sources/cloudgda:** Add import for cloudgda source
([googleapis#2217](googleapis#2217))
([7daa411](googleapis@7daa411))
* **tools/alloydb-wait-for-operation:** Fix connection message
generation
([googleapis#2228](googleapis#2228))
([7053fbb](googleapis@7053fbb))
* **tools/alloydbainl:** Only add psv when NL Config Param is defined
([googleapis#2265](googleapis#2265))
([ef8f3b0](googleapis@ef8f3b0))
* **tools/looker:** Looker client OAuth nil pointer error
([googleapis#2231](googleapis#2231))
([268700b](googleapis@268700b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
divitwork pushed a commit to divitwork/genai-toolbox that referenced this pull request Jan 9, 2026
This change addresses the ask where the user may want to use custom
scopes. For instance, the default scope (bigquery) falls short from
running sql that utilizes integration with other google products, such
as Drive, Vertex AI, Cloud Run etc. With this change the user would be
able to configure custom scopes depending on their use case.

The custom scopes can be configured in the tools.yaml file, e.g.:

```yaml
sources:
  bigquery-source:
    kind: "bigquery"
    project: ${BIGQUERY_PROJECT}
    location: ${BIGQUERY_LOCATION:}
    useClientOAuth: ${BIGQUERY_USE_CLIENT_OAUTH:false}
    scopes:
      - "https://www.googleapis.com/auth/bigquery"
      - "https://www.googleapis.com/auth/drive"
```

and if the [bigquery prebuilt
config](https://github.com/googleapis/genai-toolbox/blob/main/internal/prebuiltconfigs/tools/bigquery.yaml)
is being used, then it can be set in the environment variable as well:

```shell
$ export BIGQUERY_SCOPES="https://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/drive"
```

> Thank you for opening a Pull Request! Before submitting your PR, there
are a
> few things you can do to make sure it goes smoothly:

- [ ] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [x] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
  before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [ ] Make sure to add `!` if this involve a breaking change

🛠️ Fixes googleapis#1942
divitwork pushed a commit to divitwork/genai-toolbox that referenced this pull request Jan 9, 2026
This change addresses the ask where the user may want to use custom
scopes. For instance, the default scope (bigquery) falls short from
running sql that utilizes integration with other google products, such
as Drive, Vertex AI, Cloud Run etc. With this change the user would be
able to configure custom scopes depending on their use case.

The custom scopes can be configured in the tools.yaml file, e.g.:

```yaml
sources:
  bigquery-source:
    kind: "bigquery"
    project: ${BIGQUERY_PROJECT}
    location: ${BIGQUERY_LOCATION:}
    useClientOAuth: ${BIGQUERY_USE_CLIENT_OAUTH:false}
    scopes:
      - "https://www.googleapis.com/auth/bigquery"
      - "https://www.googleapis.com/auth/drive"
```

and if the [bigquery prebuilt
config](https://github.com/googleapis/genai-toolbox/blob/main/internal/prebuiltconfigs/tools/bigquery.yaml)
is being used, then it can be set in the environment variable as well:

```shell
$ export BIGQUERY_SCOPES="https://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/drive"
```

> Thank you for opening a Pull Request! Before submitting your PR, there
are a
> few things you can do to make sure it goes smoothly:

- [ ] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [x] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
  before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [ ] Make sure to add `!` if this involve a breaking change

🛠️ Fixes googleapis#1942
divitwork pushed a commit to divitwork/genai-toolbox that referenced this pull request Jan 9, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.25.0](googleapis/mcp-toolbox@v0.24.0...v0.25.0)
(2026-01-08)


### Features

* Add `embeddingModel` support
([googleapis#2121](googleapis#2121))
([9c62f31](googleapis@9c62f31))
* Add `allowed-hosts` flag
([googleapis#2254](googleapis#2254))
([17b41f6](googleapis@17b41f6))
* Add parameter default value to manifest
([googleapis#2264](googleapis#2264))
([9d1feca](googleapis@9d1feca))
* **snowflake:** Add Snowflake Source and Tools
([googleapis#858](googleapis#858))
([b706b5b](googleapis@b706b5b))
* **prebuilt/cloud-sql-mysql:** Update CSQL MySQL prebuilt tools to use
IAM ([googleapis#2202](googleapis#2202))
([731a32e](googleapis@731a32e))
* **sources/bigquery:** Make credentials scope configurable
([googleapis#2210](googleapis#2210))
([a450600](googleapis@a450600))
* **sources/trino:** Add ssl verification options and fix docs example
([googleapis#2155](googleapis#2155))
([4a4cf1e](googleapis@4a4cf1e))
* **tools/looker:** Add ability to set destination folder with
`make_look` and `make_dashboard`.
([googleapis#2245](googleapis#2245))
([eb79339](googleapis@eb79339))
* **tools/postgressql:** Add tool to list store procedure
([googleapis#2156](googleapis#2156))
([cf0fc51](googleapis@cf0fc51))
* **tools/postgressql:** Add Parameter `embeddedBy` config support
([googleapis#2151](googleapis#2151))
([17b70cc](googleapis@17b70cc))


### Bug Fixes

* **server:** Add `embeddingModel` config initialization
([googleapis#2281](googleapis#2281))
([a779975](googleapis@a779975))
* **sources/cloudgda:** Add import for cloudgda source
([googleapis#2217](googleapis#2217))
([7daa411](googleapis@7daa411))
* **tools/alloydb-wait-for-operation:** Fix connection message
generation
([googleapis#2228](googleapis#2228))
([7053fbb](googleapis@7053fbb))
* **tools/alloydbainl:** Only add psv when NL Config Param is defined
([googleapis#2265](googleapis#2265))
([ef8f3b0](googleapis@ef8f3b0))
* **tools/looker:** Looker client OAuth nil pointer error
([googleapis#2231](googleapis#2231))
([268700b](googleapis@268700b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
github-actions Bot pushed a commit to CrazyForks/genai-toolbox that referenced this pull request Jan 9, 2026
🤖 I have created a release *beep* *boop*
---

##
[0.25.0](googleapis/mcp-toolbox@v0.24.0...v0.25.0)
(2026-01-08)

### Features

* Add `embeddingModel` support
([googleapis#2121](googleapis#2121))
([9c62f31](googleapis@9c62f31))
* Add `allowed-hosts` flag
([googleapis#2254](googleapis#2254))
([17b41f6](googleapis@17b41f6))
* Add parameter default value to manifest
([googleapis#2264](googleapis#2264))
([9d1feca](googleapis@9d1feca))
* **snowflake:** Add Snowflake Source and Tools
([googleapis#858](googleapis#858))
([b706b5b](googleapis@b706b5b))
* **prebuilt/cloud-sql-mysql:** Update CSQL MySQL prebuilt tools to use
IAM ([googleapis#2202](googleapis#2202))
([731a32e](googleapis@731a32e))
* **sources/bigquery:** Make credentials scope configurable
([googleapis#2210](googleapis#2210))
([a450600](googleapis@a450600))
* **sources/trino:** Add ssl verification options and fix docs example
([googleapis#2155](googleapis#2155))
([4a4cf1e](googleapis@4a4cf1e))
* **tools/looker:** Add ability to set destination folder with
`make_look` and `make_dashboard`.
([googleapis#2245](googleapis#2245))
([eb79339](googleapis@eb79339))
* **tools/postgressql:** Add tool to list store procedure
([googleapis#2156](googleapis#2156))
([cf0fc51](googleapis@cf0fc51))
* **tools/postgressql:** Add Parameter `embeddedBy` config support
([googleapis#2151](googleapis#2151))
([17b70cc](googleapis@17b70cc))

### Bug Fixes

* **server:** Add `embeddingModel` config initialization
([googleapis#2281](googleapis#2281))
([a779975](googleapis@a779975))
* **sources/cloudgda:** Add import for cloudgda source
([googleapis#2217](googleapis#2217))
([7daa411](googleapis@7daa411))
* **tools/alloydb-wait-for-operation:** Fix connection message
generation
([googleapis#2228](googleapis#2228))
([7053fbb](googleapis@7053fbb))
* **tools/alloydbainl:** Only add psv when NL Config Param is defined
([googleapis#2265](googleapis#2265))
([ef8f3b0](googleapis@ef8f3b0))
* **tools/looker:** Looker client OAuth nil pointer error
([googleapis#2231](googleapis#2231))
([268700b](googleapis@268700b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 41b518b
github-actions Bot pushed a commit to bhardwajRahul/genai-toolbox that referenced this pull request Jan 10, 2026
🤖 I have created a release *beep* *boop*
---

##
[0.25.0](googleapis/mcp-toolbox@v0.24.0...v0.25.0)
(2026-01-08)

### Features

* Add `embeddingModel` support
([googleapis#2121](googleapis#2121))
([9c62f31](googleapis@9c62f31))
* Add `allowed-hosts` flag
([googleapis#2254](googleapis#2254))
([17b41f6](googleapis@17b41f6))
* Add parameter default value to manifest
([googleapis#2264](googleapis#2264))
([9d1feca](googleapis@9d1feca))
* **snowflake:** Add Snowflake Source and Tools
([googleapis#858](googleapis#858))
([b706b5b](googleapis@b706b5b))
* **prebuilt/cloud-sql-mysql:** Update CSQL MySQL prebuilt tools to use
IAM ([googleapis#2202](googleapis#2202))
([731a32e](googleapis@731a32e))
* **sources/bigquery:** Make credentials scope configurable
([googleapis#2210](googleapis#2210))
([a450600](googleapis@a450600))
* **sources/trino:** Add ssl verification options and fix docs example
([googleapis#2155](googleapis#2155))
([4a4cf1e](googleapis@4a4cf1e))
* **tools/looker:** Add ability to set destination folder with
`make_look` and `make_dashboard`.
([googleapis#2245](googleapis#2245))
([eb79339](googleapis@eb79339))
* **tools/postgressql:** Add tool to list store procedure
([googleapis#2156](googleapis#2156))
([cf0fc51](googleapis@cf0fc51))
* **tools/postgressql:** Add Parameter `embeddedBy` config support
([googleapis#2151](googleapis#2151))
([17b70cc](googleapis@17b70cc))

### Bug Fixes

* **server:** Add `embeddingModel` config initialization
([googleapis#2281](googleapis#2281))
([a779975](googleapis@a779975))
* **sources/cloudgda:** Add import for cloudgda source
([googleapis#2217](googleapis#2217))
([7daa411](googleapis@7daa411))
* **tools/alloydb-wait-for-operation:** Fix connection message
generation
([googleapis#2228](googleapis#2228))
([7053fbb](googleapis@7053fbb))
* **tools/alloydbainl:** Only add psv when NL Config Param is defined
([googleapis#2265](googleapis#2265))
([ef8f3b0](googleapis@ef8f3b0))
* **tools/looker:** Looker client OAuth nil pointer error
([googleapis#2231](googleapis#2231))
([268700b](googleapis@268700b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 41b518b
vinodhinic pushed a commit to vinodhinic/genai-toolbox that referenced this pull request Jan 14, 2026
## Description

This change addresses the ask where the user may want to use custom
scopes. For instance, the default scope (bigquery) falls short from
running sql that utilizes integration with other google products, such
as Drive, Vertex AI, Cloud Run etc. With this change the user would be
able to configure custom scopes depending on their use case.

The custom scopes can be configured in the tools.yaml file, e.g.:

```yaml
sources:
  bigquery-source:
    kind: "bigquery"
    project: ${BIGQUERY_PROJECT}
    location: ${BIGQUERY_LOCATION:}
    useClientOAuth: ${BIGQUERY_USE_CLIENT_OAUTH:false}
    scopes:
      - "https://www.googleapis.com/auth/bigquery"
      - "https://www.googleapis.com/auth/drive"
```

and if the [bigquery prebuilt
config](https://github.com/googleapis/genai-toolbox/blob/main/internal/prebuiltconfigs/tools/bigquery.yaml)
is being used, then it can be set in the environment variable as well:

```shell
$ export BIGQUERY_SCOPES="https://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/drive"
```

## PR Checklist

> Thank you for opening a Pull Request! Before submitting your PR, there
are a
> few things you can do to make sure it goes smoothly:

- [ ] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [x] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
  before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [ ] Make sure to add `!` if this involve a breaking change

🛠️ Fixes googleapis#1942
vinodhinic pushed a commit to vinodhinic/genai-toolbox that referenced this pull request Jan 14, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.25.0](googleapis/mcp-toolbox@v0.24.0...v0.25.0)
(2026-01-08)


### Features

* Add `embeddingModel` support
([googleapis#2121](googleapis#2121))
([9c62f31](googleapis@9c62f31))
* Add `allowed-hosts` flag
([googleapis#2254](googleapis#2254))
([17b41f6](googleapis@17b41f6))
* Add parameter default value to manifest
([googleapis#2264](googleapis#2264))
([9d1feca](googleapis@9d1feca))
* **snowflake:** Add Snowflake Source and Tools
([googleapis#858](googleapis#858))
([b706b5b](googleapis@b706b5b))
* **prebuilt/cloud-sql-mysql:** Update CSQL MySQL prebuilt tools to use
IAM ([googleapis#2202](googleapis#2202))
([731a32e](googleapis@731a32e))
* **sources/bigquery:** Make credentials scope configurable
([googleapis#2210](googleapis#2210))
([a450600](googleapis@a450600))
* **sources/trino:** Add ssl verification options and fix docs example
([googleapis#2155](googleapis#2155))
([4a4cf1e](googleapis@4a4cf1e))
* **tools/looker:** Add ability to set destination folder with
`make_look` and `make_dashboard`.
([googleapis#2245](googleapis#2245))
([eb79339](googleapis@eb79339))
* **tools/postgressql:** Add tool to list store procedure
([googleapis#2156](googleapis#2156))
([cf0fc51](googleapis@cf0fc51))
* **tools/postgressql:** Add Parameter `embeddedBy` config support
([googleapis#2151](googleapis#2151))
([17b70cc](googleapis@17b70cc))


### Bug Fixes

* **server:** Add `embeddingModel` config initialization
([googleapis#2281](googleapis#2281))
([a779975](googleapis@a779975))
* **sources/cloudgda:** Add import for cloudgda source
([googleapis#2217](googleapis#2217))
([7daa411](googleapis@7daa411))
* **tools/alloydb-wait-for-operation:** Fix connection message
generation
([googleapis#2228](googleapis#2228))
([7053fbb](googleapis@7053fbb))
* **tools/alloydbainl:** Only add psv when NL Config Param is defined
([googleapis#2265](googleapis#2265))
([ef8f3b0](googleapis@ef8f3b0))
* **tools/looker:** Looker client OAuth nil pointer error
([googleapis#2231](googleapis#2231))
([268700b](googleapis@268700b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
mahlevanshika pushed a commit to mahlevanshika/genai-toolbox that referenced this pull request Jan 22, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.25.0](googleapis/mcp-toolbox@v0.24.0...v0.25.0)
(2026-01-08)


### Features

* Add `embeddingModel` support
([googleapis#2121](googleapis#2121))
([9c62f31](googleapis@9c62f31))
* Add `allowed-hosts` flag
([googleapis#2254](googleapis#2254))
([17b41f6](googleapis@17b41f6))
* Add parameter default value to manifest
([googleapis#2264](googleapis#2264))
([9d1feca](googleapis@9d1feca))
* **snowflake:** Add Snowflake Source and Tools
([googleapis#858](googleapis#858))
([b706b5b](googleapis@b706b5b))
* **prebuilt/cloud-sql-mysql:** Update CSQL MySQL prebuilt tools to use
IAM ([googleapis#2202](googleapis#2202))
([731a32e](googleapis@731a32e))
* **sources/bigquery:** Make credentials scope configurable
([googleapis#2210](googleapis#2210))
([a450600](googleapis@a450600))
* **sources/trino:** Add ssl verification options and fix docs example
([googleapis#2155](googleapis#2155))
([4a4cf1e](googleapis@4a4cf1e))
* **tools/looker:** Add ability to set destination folder with
`make_look` and `make_dashboard`.
([googleapis#2245](googleapis#2245))
([eb79339](googleapis@eb79339))
* **tools/postgressql:** Add tool to list store procedure
([googleapis#2156](googleapis#2156))
([cf0fc51](googleapis@cf0fc51))
* **tools/postgressql:** Add Parameter `embeddedBy` config support
([googleapis#2151](googleapis#2151))
([17b70cc](googleapis@17b70cc))


### Bug Fixes

* **server:** Add `embeddingModel` config initialization
([googleapis#2281](googleapis#2281))
([a779975](googleapis@a779975))
* **sources/cloudgda:** Add import for cloudgda source
([googleapis#2217](googleapis#2217))
([7daa411](googleapis@7daa411))
* **tools/alloydb-wait-for-operation:** Fix connection message
generation
([googleapis#2228](googleapis#2228))
([7053fbb](googleapis@7053fbb))
* **tools/alloydbainl:** Only add psv when NL Config Param is defined
([googleapis#2265](googleapis#2265))
([ef8f3b0](googleapis@ef8f3b0))
* **tools/looker:** Looker client OAuth nil pointer error
([googleapis#2231](googleapis#2231))
([268700b](googleapis@268700b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
NightStack15 added a commit to NightStack15/googleapis-_-genai-toolbox that referenced this pull request Mar 20, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.25.0](googleapis/mcp-toolbox@v0.24.0...v0.25.0)
(2026-01-08)


### Features

* Add `embeddingModel` support
([#2121](googleapis/mcp-toolbox#2121))
([9c62f31](googleapis/mcp-toolbox@9c62f31))
* Add `allowed-hosts` flag
([#2254](googleapis/mcp-toolbox#2254))
([17b41f6](googleapis/mcp-toolbox@17b41f6))
* Add parameter default value to manifest
([#2264](googleapis/mcp-toolbox#2264))
([9d1feca](googleapis/mcp-toolbox@9d1feca))
* **snowflake:** Add Snowflake Source and Tools
([#858](googleapis/mcp-toolbox#858))
([b706b5b](googleapis/mcp-toolbox@b706b5b))
* **prebuilt/cloud-sql-mysql:** Update CSQL MySQL prebuilt tools to use
IAM ([#2202](googleapis/mcp-toolbox#2202))
([731a32e](googleapis/mcp-toolbox@731a32e))
* **sources/bigquery:** Make credentials scope configurable
([#2210](googleapis/mcp-toolbox#2210))
([a450600](googleapis/mcp-toolbox@a450600))
* **sources/trino:** Add ssl verification options and fix docs example
([#2155](googleapis/mcp-toolbox#2155))
([4a4cf1e](googleapis/mcp-toolbox@4a4cf1e))
* **tools/looker:** Add ability to set destination folder with
`make_look` and `make_dashboard`.
([#2245](googleapis/mcp-toolbox#2245))
([eb79339](googleapis/mcp-toolbox@eb79339))
* **tools/postgressql:** Add tool to list store procedure
([#2156](googleapis/mcp-toolbox#2156))
([cf0fc51](googleapis/mcp-toolbox@cf0fc51))
* **tools/postgressql:** Add Parameter `embeddedBy` config support
([#2151](googleapis/mcp-toolbox#2151))
([17b70cc](googleapis/mcp-toolbox@17b70cc))


### Bug Fixes

* **server:** Add `embeddingModel` config initialization
([#2281](googleapis/mcp-toolbox#2281))
([a779975](googleapis/mcp-toolbox@a779975))
* **sources/cloudgda:** Add import for cloudgda source
([#2217](googleapis/mcp-toolbox#2217))
([7daa411](googleapis/mcp-toolbox@7daa411))
* **tools/alloydb-wait-for-operation:** Fix connection message
generation
([#2228](googleapis/mcp-toolbox#2228))
([7053fbb](googleapis/mcp-toolbox@7053fbb))
* **tools/alloydbainl:** Only add psv when NL Config Param is defined
([#2265](googleapis/mcp-toolbox#2265))
([ef8f3b0](googleapis/mcp-toolbox@ef8f3b0))
* **tools/looker:** Looker client OAuth nil pointer error
([#2231](googleapis/mcp-toolbox#2231))
([268700b](googleapis/mcp-toolbox@268700b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding drive.readonly scope in BigQuery ADC initialization for external Google Sheets

3 participants