Skip to content

feat(adk): support secure parameters in ADK tools and toolset - #776

Open
anubhav756 wants to merge 1 commit into
anubhav-secure-params-core-clientfrom
anubhav-secure-params-adk
Open

feat(adk): support secure parameters in ADK tools and toolset#776
anubhav756 wants to merge 1 commit into
anubhav-secure-params-core-clientfrom
anubhav-secure-params-adk

Conversation

@anubhav756

@anubhav756 anubhav756 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Description

Integrates secure parameters support into the Google GenAI ADK adapter package, ensuring complete schema isolation from Gemini function declarations.

Changes

  • Updated Gemini FunctionDeclaration ToolboxTool._get_declaration() to construct Gemini tool declarations from _core_tool._params. Secure parameters are never leaked to the model.
  • Added bind_param, bind_params, bind_secure_param, and bind_secure_params to ADK ToolboxTool.
  • Added secure_params to ToolboxToolset.__init__() and forwarded it during get_tools() batch loading.
  • Added unit tests asserting schema isolation in Gemini declarations, binding chaining, and toolset propagation.

@anubhav756
anubhav756 marked this pull request as ready for review August 20, 2026 06:14
@anubhav756
anubhav756 requested a review from a team as a code owner August 20, 2026 06:14
@anubhav756
anubhav756 force-pushed the anubhav-secure-params-adk branch from d2da812 to baa5ff9 Compare August 20, 2026 06:25
@anubhav756
anubhav756 force-pushed the anubhav-secure-params-adk branch from baa5ff9 to 14994ac Compare August 20, 2026 10:08
@anubhav756
anubhav756 force-pushed the anubhav-secure-params-adk branch from 14994ac to 98824a7 Compare August 25, 2026 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants