diff --git a/src/strands/tools/decorator.py b/src/strands/tools/decorator.py index 4923a44ee..99aa7e372 100644 --- a/src/strands/tools/decorator.py +++ b/src/strands/tools/decorator.py @@ -36,7 +36,7 @@ def my_tool(param1: str, param2: int = 42) -> dict: } agent = Agent(tools=[my_tool]) - agent.my_tool(param1="hello", param2=123) + agent.tool.my_tool(param1="hello", param2=123) ``` """