Skip to content

Commit 69d3910

Browse files
authored
Fixing documentation in decorator.py (#852)
The documentation provided for the tool decorator has been updated to work with the version 1.8.0
1 parent 500d01a commit 69d3910

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/strands/tools/decorator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def my_tool(param1: str, param2: int = 42) -> dict:
3636
}
3737
3838
agent = Agent(tools=[my_tool])
39-
agent.my_tool(param1="hello", param2=123)
39+
agent.tool.my_tool(param1="hello", param2=123)
4040
```
4141
"""
4242

0 commit comments

Comments
 (0)