Skip to content

fix(tool/mongodb-find): fix find tool limit field#1570

Merged
Yuan325 merged 2 commits into
mainfrom
fix-limit
Sep 25, 2025
Merged

fix(tool/mongodb-find): fix find tool limit field#1570
Yuan325 merged 2 commits into
mainfrom
fix-limit

Conversation

@duwenxin99

@duwenxin99 duwenxin99 commented Sep 25, 2025

Copy link
Copy Markdown
Contributor

The projection checking block in getOptions exists early previously, resulting in the limit not being set.

🛠️ Fixes #1491

@duwenxin99 duwenxin99 requested a review from a team September 25, 2025 21:54
@github-actions

Copy link
Copy Markdown
Contributor

@duwenxin99 duwenxin99 added the release candidate Use label to signal PR should be included in the next release. label Sep 25, 2025
@duwenxin99 duwenxin99 enabled auto-merge (squash) September 25, 2025 22:06
@duwenxin99 duwenxin99 disabled auto-merge September 25, 2025 22:06
@Yuan325 Yuan325 changed the title fix: Fix MongoDB find tool limit field fix(tool/mongodb-find): fix find tool limit field Sep 25, 2025
Comment thread internal/tools/mongodb/mongodbfind/mongodbfind.go
@Yuan325 Yuan325 enabled auto-merge (squash) September 25, 2025 22:15
@Yuan325 Yuan325 merged commit 4166bf7 into main Sep 25, 2025
11 checks passed
@Yuan325 Yuan325 deleted the fix-limit branch September 25, 2025 22:16
@github-actions

Copy link
Copy Markdown
Contributor

🧨 Preview deployments removed.

Yuan325 added a commit that referenced this pull request Sep 26, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.16.0](v0.15.0...v0.16.0)
(2025-09-25)


### ⚠ BREAKING CHANGES

* **tool/bigquery-execute-sql:** add allowed datasets support
([#1443](#1443))
* **tool/bigquery-forecast:** add allowed datasets support
([#1412](#1412))

### Features

* **cassandra:** Add Cassandra Source and Tool
([#1012](#1012))
([6e42053](6e42053))
* **sources/postgres:** Add application_name
([#1504](#1504))
([72a2366](72a2366))
* **tool/bigquery-execute-sql:** Add allowed datasets support
([#1443](#1443))
([9501ebb](9501ebb))
* **tool/bigquery-forecast:** Add allowed datasets support
([#1412](#1412))
([88bac7e](88bac7e))
* **tools/clickhouse-list-tables:** Add list-tables tool
([#1446](#1446))
([69a3caf](69a3caf))


### Bug Fixes

* **tool/mongodb-find:** Fix find tool `limit` field
([#1570](#1570))
([4166bf7](4166bf7))
* **tools/mongodb:** Concat filter params only once in mongodb update
tools ([#1545](#1545))
([295f9dc](295f9dc))

---
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 Sep 26, 2025
🤖 I have created a release *beep* *boop*
---

##
[0.16.0](v0.15.0...v0.16.0)
(2025-09-25)

### ⚠ BREAKING CHANGES

* **tool/bigquery-execute-sql:** add allowed datasets support
([#1443](#1443))
* **tool/bigquery-forecast:** add allowed datasets support
([#1412](#1412))

### Features

* **cassandra:** Add Cassandra Source and Tool
([#1012](#1012))
([6e42053](6e42053))
* **sources/postgres:** Add application_name
([#1504](#1504))
([72a2366](72a2366))
* **tool/bigquery-execute-sql:** Add allowed datasets support
([#1443](#1443))
([9501ebb](9501ebb))
* **tool/bigquery-forecast:** Add allowed datasets support
([#1412](#1412))
([88bac7e](88bac7e))
* **tools/clickhouse-list-tables:** Add list-tables tool
([#1446](#1446))
([69a3caf](69a3caf))

### Bug Fixes

* **tool/mongodb-find:** Fix find tool `limit` field
([#1570](#1570))
([4166bf7](4166bf7))
* **tools/mongodb:** Concat filter params only once in mongodb update
tools ([#1545](#1545))
([295f9dc](295f9dc))

---
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> 964a82e
github-actions Bot pushed a commit to renovate-bot/googleapis-_-genai-toolbox that referenced this pull request Sep 26, 2025
🤖 I have created a release *beep* *boop*
---

##
[0.16.0](googleapis/mcp-toolbox@v0.15.0...v0.16.0)
(2025-09-25)

### ⚠ BREAKING CHANGES

* **tool/bigquery-execute-sql:** add allowed datasets support
([googleapis#1443](googleapis#1443))
* **tool/bigquery-forecast:** add allowed datasets support
([googleapis#1412](googleapis#1412))

### Features

* **cassandra:** Add Cassandra Source and Tool
([googleapis#1012](googleapis#1012))
([6e42053](googleapis@6e42053))
* **sources/postgres:** Add application_name
([googleapis#1504](googleapis#1504))
([72a2366](googleapis@72a2366))
* **tool/bigquery-execute-sql:** Add allowed datasets support
([googleapis#1443](googleapis#1443))
([9501ebb](googleapis@9501ebb))
* **tool/bigquery-forecast:** Add allowed datasets support
([googleapis#1412](googleapis#1412))
([88bac7e](googleapis@88bac7e))
* **tools/clickhouse-list-tables:** Add list-tables tool
([googleapis#1446](googleapis#1446))
([69a3caf](googleapis@69a3caf))

### Bug Fixes

* **tool/mongodb-find:** Fix find tool `limit` field
([googleapis#1570](googleapis#1570))
([4166bf7](googleapis@4166bf7))
* **tools/mongodb:** Concat filter params only once in mongodb update
tools ([googleapis#1545](googleapis#1545))
([295f9dc](googleapis@295f9dc))

---
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> 964a82e
github-actions Bot pushed a commit to Jaleel-zhu/genai-toolbox that referenced this pull request Sep 26, 2025
🤖 I have created a release *beep* *boop*
---

##
[0.16.0](googleapis/mcp-toolbox@v0.15.0...v0.16.0)
(2025-09-25)

### ⚠ BREAKING CHANGES

* **tool/bigquery-execute-sql:** add allowed datasets support
([googleapis#1443](googleapis#1443))
* **tool/bigquery-forecast:** add allowed datasets support
([googleapis#1412](googleapis#1412))

### Features

* **cassandra:** Add Cassandra Source and Tool
([googleapis#1012](googleapis#1012))
([6e42053](googleapis@6e42053))
* **sources/postgres:** Add application_name
([googleapis#1504](googleapis#1504))
([72a2366](googleapis@72a2366))
* **tool/bigquery-execute-sql:** Add allowed datasets support
([googleapis#1443](googleapis#1443))
([9501ebb](googleapis@9501ebb))
* **tool/bigquery-forecast:** Add allowed datasets support
([googleapis#1412](googleapis#1412))
([88bac7e](googleapis@88bac7e))
* **tools/clickhouse-list-tables:** Add list-tables tool
([googleapis#1446](googleapis#1446))
([69a3caf](googleapis@69a3caf))

### Bug Fixes

* **tool/mongodb-find:** Fix find tool `limit` field
([googleapis#1570](googleapis#1570))
([4166bf7](googleapis@4166bf7))
* **tools/mongodb:** Concat filter params only once in mongodb update
tools ([googleapis#1545](googleapis#1545))
([295f9dc](googleapis@295f9dc))

---
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> 964a82e
github-actions Bot pushed a commit to bhardwajRahul/genai-toolbox that referenced this pull request Sep 26, 2025
🤖 I have created a release *beep* *boop*
---

##
[0.16.0](googleapis/mcp-toolbox@v0.15.0...v0.16.0)
(2025-09-25)

### ⚠ BREAKING CHANGES

* **tool/bigquery-execute-sql:** add allowed datasets support
([googleapis#1443](googleapis#1443))
* **tool/bigquery-forecast:** add allowed datasets support
([googleapis#1412](googleapis#1412))

### Features

* **cassandra:** Add Cassandra Source and Tool
([googleapis#1012](googleapis#1012))
([6e42053](googleapis@6e42053))
* **sources/postgres:** Add application_name
([googleapis#1504](googleapis#1504))
([72a2366](googleapis@72a2366))
* **tool/bigquery-execute-sql:** Add allowed datasets support
([googleapis#1443](googleapis#1443))
([9501ebb](googleapis@9501ebb))
* **tool/bigquery-forecast:** Add allowed datasets support
([googleapis#1412](googleapis#1412))
([88bac7e](googleapis@88bac7e))
* **tools/clickhouse-list-tables:** Add list-tables tool
([googleapis#1446](googleapis#1446))
([69a3caf](googleapis@69a3caf))

### Bug Fixes

* **tool/mongodb-find:** Fix find tool `limit` field
([googleapis#1570](googleapis#1570))
([4166bf7](googleapis@4166bf7))
* **tools/mongodb:** Concat filter params only once in mongodb update
tools ([googleapis#1545](googleapis#1545))
([295f9dc](googleapis@295f9dc))

---
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> 964a82e
rahulpinto19 pushed a commit that referenced this pull request Sep 30, 2025
The projection checking block in `getOptions` exists early previously,
resulting in the limit not being set.

🛠️ Fixes #1491
rahulpinto19 pushed a commit that referenced this pull request Sep 30, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.16.0](v0.15.0...v0.16.0)
(2025-09-25)


### ⚠ BREAKING CHANGES

* **tool/bigquery-execute-sql:** add allowed datasets support
([#1443](#1443))
* **tool/bigquery-forecast:** add allowed datasets support
([#1412](#1412))

### Features

* **cassandra:** Add Cassandra Source and Tool
([#1012](#1012))
([6e42053](6e42053))
* **sources/postgres:** Add application_name
([#1504](#1504))
([72a2366](72a2366))
* **tool/bigquery-execute-sql:** Add allowed datasets support
([#1443](#1443))
([9501ebb](9501ebb))
* **tool/bigquery-forecast:** Add allowed datasets support
([#1412](#1412))
([88bac7e](88bac7e))
* **tools/clickhouse-list-tables:** Add list-tables tool
([#1446](#1446))
([69a3caf](69a3caf))


### Bug Fixes

* **tool/mongodb-find:** Fix find tool `limit` field
([#1570](#1570))
([4166bf7](4166bf7))
* **tools/mongodb:** Concat filter params only once in mongodb update
tools ([#1545](#1545))
([295f9dc](295f9dc))

---
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.16.0](googleapis/mcp-toolbox@v0.15.0...v0.16.0)
(2025-09-25)


### ⚠ BREAKING CHANGES

* **tool/bigquery-execute-sql:** add allowed datasets support
([#1443](googleapis/mcp-toolbox#1443))
* **tool/bigquery-forecast:** add allowed datasets support
([#1412](googleapis/mcp-toolbox#1412))

### Features

* **cassandra:** Add Cassandra Source and Tool
([#1012](googleapis/mcp-toolbox#1012))
([6e42053](googleapis/mcp-toolbox@6e42053))
* **sources/postgres:** Add application_name
([#1504](googleapis/mcp-toolbox#1504))
([72a2366](googleapis/mcp-toolbox@72a2366))
* **tool/bigquery-execute-sql:** Add allowed datasets support
([#1443](googleapis/mcp-toolbox#1443))
([9501ebb](googleapis/mcp-toolbox@9501ebb))
* **tool/bigquery-forecast:** Add allowed datasets support
([#1412](googleapis/mcp-toolbox#1412))
([88bac7e](googleapis/mcp-toolbox@88bac7e))
* **tools/clickhouse-list-tables:** Add list-tables tool
([#1446](googleapis/mcp-toolbox#1446))
([69a3caf](googleapis/mcp-toolbox@69a3caf))


### Bug Fixes

* **tool/mongodb-find:** Fix find tool `limit` field
([#1570](googleapis/mcp-toolbox#1570))
([4166bf7](googleapis/mcp-toolbox@4166bf7))
* **tools/mongodb:** Concat filter params only once in mongodb update
tools ([#1545](googleapis/mcp-toolbox#1545))
([295f9dc](googleapis/mcp-toolbox@295f9dc))

---
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

release candidate Use label to signal PR should be included in the next release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MongoDB "find" tool not using the limit parameter

3 participants