Skip to content

Commit b940d4b

Browse files
rdaroskoverholt
andauthored
docs: update built-in-tools.md to clarify tool limitations (#217)
* Update built-in-tools.md Improvement to the Limitation section of the built-in tools documentation to make it more clear. Discussed with @hangfei in the thread below: google/adk-python#514 (comment) * docs: update built-in-tools.md to clarify tool limitations Improvement to the Limitation section of the built-in tools documentation to make it more clear. Discussed with @hangfei in the thread below: google/adk-python#514 (comment) --------- Co-authored-by: Kristopher Overholt <[email protected]>
1 parent 64daaf8 commit b940d4b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/tools/built-in-tools.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ agent that needs to retrieve information from the web can directly use the
1313

1414
Once added to an agent, the agent can decide to use the tool based on the **user
1515
prompt** and its **instructions**. The framework handles the execution of the
16-
tool when the agent calls it.
16+
tool when the agent calls it. Important: check the ***Limitations*** section of this page.
1717

1818
## Available Built-in tools
1919

@@ -90,17 +90,17 @@ root_agent = Agent(
9090
!!! warning
9191

9292
Currently, for each root agent or single agent, only one built-in tool is
93-
supported.
93+
supported. No other tools of any type can be used in the same agent.
9494

95-
For example, the following approach that uses two or more built-in tools within
96-
a root agent (or a single agent) is **not** currently supported:
95+
For example, the following approach that uses ***a built-in tool along with
96+
other tools*** within a single agent is **not** currently supported:
9797

9898
```py
9999
root_agent = Agent(
100100
name="RootAgent",
101101
model="gemini-2.0-flash",
102102
description="Root Agent",
103-
tools=[built_in_code_execution, custom_function],
103+
tools=[built_in_code_execution, custom_function], # <-- not supported
104104
)
105105
```
106106

0 commit comments

Comments
 (0)