Skip to content

Update ADK doc according to issue #1227 - 7 - VertexAiSearchTool dynamic config#1240

Open
adk-bot wants to merge 1 commit intomainfrom
agent-changes-20260205-190320
Open

Update ADK doc according to issue #1227 - 7 - VertexAiSearchTool dynamic config#1240
adk-bot wants to merge 1 commit intomainfrom
agent-changes-20260205-190320

Conversation

@adk-bot
Copy link
Collaborator

@adk-bot adk-bot commented Feb 5, 2026

7. Document dynamic Vertex AI Search configuration

Doc file: docs/tools/google-cloud/vertex-ai-search.md

Current state:

Describes basic usage of VertexAiSearchTool.

Proposed Change:

Add a section "Dynamic Configuration (e.g., Per-User Filtering)".
Explain that you can subclass VertexAiSearchTool and override _build_vertex_ai_search_config(self, context).
Provide an example of setting a filter based on context.state["user_id"].

Reasoning:
VertexAiSearchTool now supports dynamic configuration via the new _build_vertex_ai_search_config method, which is useful for applying context-aware filters (like user permissions) at runtime.

Reference: src/google/adk/tools/vertex_ai_search_tool.py

@joefernandez joefernandez changed the title Update ADK doc according to issue #1227 - 7 Update ADK doc according to issue #1227 - 7 - VertexAiSearchTool dynamic config Feb 5, 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.

2 participants