feat: add postgres-execute-sql tool - #490
Merged
Merged
Conversation
kurtisvg
reviewed
Apr 25, 2025
Yuan325
marked this pull request as ready for review
April 25, 2025 23:11
Contributor
1 similar comment
Contributor
averikitsch
reviewed
Apr 29, 2025
averikitsch
reviewed
Apr 29, 2025
averikitsch
reviewed
Apr 29, 2025
averikitsch
reviewed
Apr 29, 2025
averikitsch
reviewed
Apr 29, 2025
Contributor
averikitsch
reviewed
Apr 30, 2025
averikitsch
reviewed
Apr 30, 2025
averikitsch
approved these changes
Apr 30, 2025
Yuan325
enabled auto-merge (squash)
May 1, 2025 17:40
Contributor
Contributor
|
🧨 Preview deployments removed. |
github-actions Bot
pushed a commit
that referenced
this pull request
May 1, 2025
This tool can be used across all postgres sources.
`postgres-execute-sql` config is as below:
```
tools:
postgres_execute_sql_tool:
kind: "postgres-execute-sql"
source: my-alloydb-source // or any other sources that is compatible with this tool
description: Use this tool to execute sql.
```
The `postgres-execute-sql` tool takes one parameter. Example request as
follow:
```
curl -X POST -H "Content-Type: application/json" -d '{"sql": "SELECT 1"}' http://127.0.0.1:5000/api/tool/postgres_execute_sql_tool/invoke
``` 11ea7bc
github-actions Bot
pushed a commit
to renovate-bot/googleapis-_-genai-toolbox
that referenced
this pull request
May 1, 2025
This tool can be used across all postgres sources.
`postgres-execute-sql` config is as below:
```
tools:
postgres_execute_sql_tool:
kind: "postgres-execute-sql"
source: my-alloydb-source // or any other sources that is compatible with this tool
description: Use this tool to execute sql.
```
The `postgres-execute-sql` tool takes one parameter. Example request as
follow:
```
curl -X POST -H "Content-Type: application/json" -d '{"sql": "SELECT 1"}' http://127.0.0.1:5000/api/tool/postgres_execute_sql_tool/invoke
``` 11ea7bc
Yuan325
added a commit
that referenced
this pull request
May 6, 2025
🤖 I have created a release *beep* *boop* --- ## [0.5.0](v0.4.0...v0.5.0) (2025-05-06) ### Features * Add Couchbase as Source and Tool ([#307](#307)) ([d7390b0](d7390b0)) * Add postgres-execute-sql tool ([#490](#490)) ([11ea7bc](11ea7bc)) ### Bug Fixes * **deps:** Update module cloud.google.com/go/cloudsqlconn to v1.17.0 ([#500](#500)) ([ad040cf](ad040cf)) * **deps:** Update module cloud.google.com/go/spanner to v1.80.0 ([#481](#481)) ([1e1348f](1e1348f)) * **deps:** Update module google.golang.org/api to v0.231.0 ([#505](#505)) ([50ec7f4](50ec7f4)) --- 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 <45984206+Yuan325@users.noreply.github.com> Co-authored-by: Yuan Teoh <yuanteoh@google.com>
github-actions Bot
pushed a commit
that referenced
this pull request
May 6, 2025
🤖 I have created a release *beep* *boop* --- ## [0.5.0](v0.4.0...v0.5.0) (2025-05-06) ### Features * Add Couchbase as Source and Tool ([#307](#307)) ([d7390b0](d7390b0)) * Add postgres-execute-sql tool ([#490](#490)) ([11ea7bc](11ea7bc)) ### Bug Fixes * **deps:** Update module cloud.google.com/go/cloudsqlconn to v1.17.0 ([#500](#500)) ([ad040cf](ad040cf)) * **deps:** Update module cloud.google.com/go/spanner to v1.80.0 ([#481](#481)) ([1e1348f](1e1348f)) * **deps:** Update module google.golang.org/api to v0.231.0 ([#505](#505)) ([50ec7f4](50ec7f4)) --- 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 <45984206+Yuan325@users.noreply.github.com> Co-authored-by: Yuan Teoh <yuanteoh@google.com> 9a5d76e
github-actions Bot
pushed a commit
to renovate-bot/googleapis-_-genai-toolbox
that referenced
this pull request
May 6, 2025
🤖 I have created a release *beep* *boop* --- ## [0.5.0](googleapis/mcp-toolbox@v0.4.0...v0.5.0) (2025-05-06) ### Features * Add Couchbase as Source and Tool ([googleapis#307](googleapis#307)) ([d7390b0](googleapis@d7390b0)) * Add postgres-execute-sql tool ([googleapis#490](googleapis#490)) ([11ea7bc](googleapis@11ea7bc)) ### Bug Fixes * **deps:** Update module cloud.google.com/go/cloudsqlconn to v1.17.0 ([googleapis#500](googleapis#500)) ([ad040cf](googleapis@ad040cf)) * **deps:** Update module cloud.google.com/go/spanner to v1.80.0 ([googleapis#481](googleapis#481)) ([1e1348f](googleapis@1e1348f)) * **deps:** Update module google.golang.org/api to v0.231.0 ([googleapis#505](googleapis#505)) ([50ec7f4](googleapis@50ec7f4)) --- 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 <45984206+Yuan325@users.noreply.github.com> Co-authored-by: Yuan Teoh <yuanteoh@google.com> 9a5d76e
jeffreyrubi
pushed a commit
to jeffreyrubi/genai-toolbox
that referenced
this pull request
Jun 7, 2025
This tool can be used across all postgres sources.
`postgres-execute-sql` config is as below:
```
tools:
postgres_execute_sql_tool:
kind: "postgres-execute-sql"
source: my-alloydb-source // or any other sources that is compatible with this tool
description: Use this tool to execute sql.
```
The `postgres-execute-sql` tool takes one parameter. Example request as
follow:
```
curl -X POST -H "Content-Type: application/json" -d '{"sql": "SELECT 1"}' http://127.0.0.1:5000/api/tool/postgres_execute_sql_tool/invoke
```
jeffreyrubi
pushed a commit
to jeffreyrubi/genai-toolbox
that referenced
this pull request
Jun 7, 2025
🤖 I have created a release *beep* *boop* --- ## [0.5.0](googleapis/mcp-toolbox@v0.4.0...v0.5.0) (2025-05-06) ### Features * Add Couchbase as Source and Tool ([googleapis#307](googleapis#307)) ([d7390b0](googleapis@d7390b0)) * Add postgres-execute-sql tool ([googleapis#490](googleapis#490)) ([11ea7bc](googleapis@11ea7bc)) ### Bug Fixes * **deps:** Update module cloud.google.com/go/cloudsqlconn to v1.17.0 ([googleapis#500](googleapis#500)) ([ad040cf](googleapis@ad040cf)) * **deps:** Update module cloud.google.com/go/spanner to v1.80.0 ([googleapis#481](googleapis#481)) ([1e1348f](googleapis@1e1348f)) * **deps:** Update module google.golang.org/api to v0.231.0 ([googleapis#505](googleapis#505)) ([50ec7f4](googleapis@50ec7f4)) --- 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 <45984206+Yuan325@users.noreply.github.com> Co-authored-by: Yuan Teoh <yuanteoh@google.com>
This was referenced Feb 18, 2026
Closed
Closed
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.5.0](googleapis/mcp-toolbox@v0.4.0...v0.5.0) (2025-05-06) ### Features * Add Couchbase as Source and Tool ([#307](googleapis/mcp-toolbox#307)) ([d7390b0](googleapis/mcp-toolbox@d7390b0)) * Add postgres-execute-sql tool ([#490](googleapis/mcp-toolbox#490)) ([11ea7bc](googleapis/mcp-toolbox@11ea7bc)) ### Bug Fixes * **deps:** Update module cloud.google.com/go/cloudsqlconn to v1.17.0 ([#500](googleapis/mcp-toolbox#500)) ([ad040cf](googleapis/mcp-toolbox@ad040cf)) * **deps:** Update module cloud.google.com/go/spanner to v1.80.0 ([#481](googleapis/mcp-toolbox#481)) ([1e1348f](googleapis/mcp-toolbox@1e1348f)) * **deps:** Update module google.golang.org/api to v0.231.0 ([#505](googleapis/mcp-toolbox#505)) ([50ec7f4](googleapis/mcp-toolbox@50ec7f4)) --- 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 <45984206+Yuan325@users.noreply.github.com> Co-authored-by: Yuan Teoh <yuanteoh@google.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This tool can be used across all postgres sources.
postgres-execute-sqlconfig is as below:The
postgres-execute-sqltool takes one parameter. Example request as follow: