Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/tools/built-in-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ to use built-in tools with other tools by using multiple agents:
=== "Python"

```py
from google.adk.tools import agent_tool
from google.adk.tools.agent_tool import AgentTool
from google.adk.agents import Agent
from google.adk.tools import google_search
from google.adk.code_executors import BuiltInCodeExecutor
Expand All @@ -187,7 +187,7 @@ to use built-in tools with other tools by using multiple agents:
name="RootAgent",
model="gemini-2.0-flash",
description="Root Agent",
tools=[agent_tool.AgentTool(agent=search_agent), agent_tool.AgentTool(agent=coding_agent)],
tools=[AgentTool(agent=search_agent), AgentTool(agent=coding_agent)],
)
```

Expand Down