Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(adk): Implement tool wrapper & auth getters#457

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
anubhav756 wants to merge1 commit intofeature/client_wrapper
base:feature/client_wrapper
Choose a base branch
Loading
fromfeature/tool_wrapper

Conversation

@anubhav756
Copy link
Contributor

@anubhav756anubhav756 commentedDec 10, 2025
edited
Loading

Implements theToolboxToolset class intoolbox-adk.

  • WrapsToolboxClient to provide tools to ADK agents.
  • Supports all standard credential strategies.
  • Adds support forauth_token_getters to handle tools with customauthSources (runtime token resolution).
  • Includes unit tests for toolset functionality.

@anubhav756anubhav756 requested a review froma team as acode ownerDecember 10, 2025 12:05
@anubhav756anubhav756 marked this pull request as draftDecember 10, 2025 12:42
@anubhav756anubhav756force-pushed thefeature/tool_wrapper branch 4 times, most recently from9de5418 to01fa7beCompareDecember 10, 2025 21:24
@anubhav756anubhav756force-pushed thefeature/tool_wrapper branch 2 times, most recently from35302db to649c8b0CompareDecember 10, 2025 21:33
@anubhav756anubhav756force-pushed thefeature/tool_wrapper branch 4 times, most recently from24f5ddd toca00852CompareDecember 12, 2025 19:18
@anubhav756anubhav756 changed the titlefeat: Implement the ToolboxTool wrapper and core logicfeat(adk): Implement tool wrapper & auth gettersDec 12, 2025
@anubhav756anubhav756force-pushed thefeature/client_wrapper branch 2 times, most recently from529edcd to1ec0dc0CompareDecember 19, 2025 16:11
Implements the ToolboxToolset class in toolbox-adk.- Wraps ToolboxClient to provide tools to ADK agents.- Supports all standard credential strategies.- Adds support for auth_token_getters to handle tools with custom authSources (runtime token resolution).- Includes unit tests for toolset functionality.
# We act as a proxy.
# We need to extract metadata from the core tool to satisfy BaseTool's contract.

name=getattr(core_tool,"__name__","unknown_tool")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Should we error if no name or description is found?

# Check if we already have credentials from a previous exchange
try:
# get_auth_response returns AuthCredential if found
ctx_any=cast(Any,tool_context)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Why are we casting to Any?

from .credentialsimportCredentialConfig,CredentialType


classToolboxContext:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I left a thought on the design doc for context and hooks.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@averikitschaverikitschaverikitsch left review comments

@kurtisvgkurtisvgAwaiting requested review from kurtisvg

Assignees

@anubhav756anubhav756

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@anubhav756@averikitsch@twishabansal

[8]ページ先頭

©2009-2025 Movatter.jp