Skip to content
Discussion options

You must be logged in to vote

No — the planner and the agent executor are separate phases in the ADK lifecycle, and tools are only available during the execution phase, not the planning phase.

Here is how it works:

  1. Planning phase (PlanReActPlanner) — The LLM generates a step-by-step plan using only its reasoning. It does NOT have access to tools.
  2. Execution phase — The agent executes each step of the plan, and during execution it CAN call tools like fetch_more_information.

Workaround: Two-Phase Pattern

If you need information before planning, use a sequential agent pattern:

from google.adk.agents import SequentialAgent, LlmAgent

# Phase 1: Gather info (has tools, no planner)
info_agent = LlmAgent(
    name="InfoGath…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Unu-tech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants