Skip to content

Update ADK doc according to issue #1048 - 6 - Spanner QueryResultMode.DICT_LIST.** - #1055

Closed
adk-bot wants to merge 1 commit into
mainfrom
agent-changes-20251212-012042
Closed

Update ADK doc according to issue #1048 - 6 - Spanner QueryResultMode.DICT_LIST.**#1055
adk-bot wants to merge 1 commit into
mainfrom
agent-changes-20251212-012042

Conversation

@adk-bot

@adk-bot adk-bot commented Dec 12, 2025

Copy link
Copy Markdown
Collaborator

In docs/tools/built-in-tools.md, update the Spanner section to include information about QueryResultMode.DICT_LIST.

Current state:
The documentation for the Spanner toolset is minimal.

Proposed Change:
Add the following to the Spanner section:

The `execute_sql` tool can now return results as a list of dictionaries. To enable this, set `query_result_mode=QueryResultMode.DICT_LIST` in `SpannerToolSettings`.

```python
from google.adk.tools.spanner.settings import QueryResultMode, SpannerToolSettings
from google.adk.tools.spanner.spanner_toolset import SpannerToolset

tool_settings = SpannerToolSettings(query_result_mode=QueryResultMode.DICT_LIST)
spanner_toolset = SpannerToolset(spanner_tool_settings=tool_settings)

@joefernandez joefernandez changed the title Update ADK doc according to issue #1048 - 6 Update ADK doc according to issue #1048 - 6 - Spanner QueryResultMode.DICT_LIST.** Jan 30, 2026
@jcwriter74 jcwriter74 self-assigned this Jun 15, 2026
@jcwriter74

Copy link
Copy Markdown
Contributor

@jcwriter74 jcwriter74 closed this Jun 15, 2026
@jcwriter74

Copy link
Copy Markdown
Contributor

Reasoning:
This new feature provides a more convenient way to work with Spanner query results, and it should be documented.

Reference:

  • src/google/adk/tools/spanner/settings.py
  • src/google/adk/tools/spanner/query_tool.py

@jcwriter74

Copy link
Copy Markdown
Contributor

@zyantw

zyantw commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Closed with: #2183

@zyantw zyantw closed this Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants