Skip to content

fix(adk): wrap tool execution errors into error output#596

Open
Deeven-Seru wants to merge 2 commits intogoogleapis:mainfrom
Deeven-Seru:fix/toolbox-adk-wrap-tool-errors
Open

fix(adk): wrap tool execution errors into error output#596
Deeven-Seru wants to merge 2 commits intogoogleapis:mainfrom
Deeven-Seru:fix/toolbox-adk-wrap-tool-errors

Conversation

@Deeven-Seru
Copy link
Contributor

@Deeven-Seru Deeven-Seru commented Mar 17, 2026

Summary- catch Toolbox tool execution exceptions and return an error response so ADK after-tool callbacks can handle recoverable failures- log tool execution failures for visibility- add a unit test covering exception-to-error wrapping
fixes googleapis/genai-toolbox#2728

@Deeven-Seru Deeven-Seru requested a review from a team as a code owner March 17, 2026 13:18
@dishaprakash dishaprakash added the priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. label Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Design proposal: ToolboxClient middleware / hooks for interceptors

3 participants