Proper way to use tools inside Custom Agents #2022
Unanswered
tiagopvianna
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone!
I’m exploring how to properly use tools inside custom BaseAgent implementations and haven’t found clear guidance in the official docs or samples—only patterns for sub‑agents.
The closest analogy is how custom agents define sub-agents like this, can we apply the same approach to tools?
Imagine doing this in init:
… and then invoking the tool inside _run_async_impl:
Does this align with ADK’s intended usage?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions