mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-02-08 14:15:36 -05:00
## Description --- This PR introduces a new tool kind `firestore-query` that enables parameterized querying of Firestore collections with support for Firestore native JSON value types, ensuring proper type handling for complex queries. ### Feature A new Firestore tool that allows: - __Parameterized collection paths, filters, select, orderBy, limit and analyzeQuery__ using Go template syntax - __Native JSON value type support__ for proper type handling in queries - __Complex filter structures__ with AND/OR logical operators - __Dynamic query building__ with template parameter substitution Example usage: <img width="761" height="721" alt="Screenshot 2025-09-09 at 1 21 16 PM" src="https://github.com/user-attachments/assets/bb359ea8-f750-492d-9f13-cef8f3b6bfd1" /> ## 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: - [x] 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/langchain-google-alloydb-pg-python/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) - [x] Make sure to add `!` if this involve a breaking change