mirror of
https://github.com/google/adk-docs.git
synced 2026-09-14 16:16:59 +08:00
471d16be75
* docs: add basic filtering for Integrations Card Catalog * update listing tags and experiment with filters * docs: add Integrations page filter buttons * move and update CSS per feedback * add JS safety improvements
1.2 KiB
1.2 KiB
catalog_title, catalog_description, catalog_icon, catalog_tags
| catalog_title | catalog_description | catalog_icon | catalog_tags | ||
|---|---|---|---|---|---|
| Spanner Tools | Interact with Spanner to retrieve data, search, and execute SQL | /adk-docs/integrations/assets/spanner.png |
|
Google Cloud Spanner tool for ADK
Supported in ADKPython v1.11.0
These are a set of tools aimed to provide integration with Spanner, namely:
list_table_names: Fetches table names present in a GCP Spanner database.list_table_indexes: Fetches table indexes present in a GCP Spanner database.list_table_index_columns: Fetches table index columns present in a GCP Spanner database.list_named_schemas: Fetches named schema for a Spanner database.get_table_schema: Fetches Spanner database table schema and metadata information.execute_sql: Runs a SQL query in Spanner database and fetch the result.similarity_search: Similarity search in Spanner using a text query.
They are packaged in the toolset SpannerToolset.
--8<-- "examples/python/snippets/tools/built-in-tools/spanner.py"