Wenxin Du
b1abbeb380
refactor: Add Tool method to check client authorization ( #1217 )
...
Add `RequiresClientAuthorization()` method to the `Tool` interface.
Currently returning false for all tools.
Supports: https://github.com/googleapis/genai-toolbox/pull/1067
2025-08-22 20:53:14 +00:00
Wenxin Du
bffe7b0661
refactor: Pass Authorization header token to Tool call functions ( #1200 )
...
Pass in authorization token to the Tool invocation functions.
Support: https://github.com/googleapis/genai-toolbox/pull/1067
2025-08-21 18:20:42 -04:00
Yuan Teoh
31ed87861d
chore: refactor process parameters function ( #1145 )
...
Added check to `ProcessParameters()` to check for parameter name
duplication and simplify the function.
ref: #1135
2025-08-14 19:27:09 +00:00
Yuan Teoh
53afed5b76
chore(tools): invoke return type any instead of []any ( #904 )
...
Update `tool.Invoke()` to return type `any` instead of `[]any`.
Toolbox return a map with the `results` key, and the SDK reads the
string from the key. So this won't break existing SDK implementation.
Fixes #870
2025-07-17 11:03:54 -07:00
Wenxin Du
a1b60100c2
chore: Group tools by type ( #743 )
...
Group tools of the same type into the same folder so that they are more
discoverable and our tools are more organized as the number grows.
2025-06-30 11:37:48 -04:00