Checks
Strands Version
1.18.0
Python Version
Python 3.13.7
Operating System
macOS
Installation Method
pip
Steps to Reproduce
Go to Strands Agents website > User Guide > Tools > Creating Custom Tools
There is a basic example under "Module Based Tools (python only)"
if copy and paste the python code example, you will get the following error :
NameError: name 'Any' is not defined. Did you mean: 'any'?
Expected Behavior
You should not see an error
Actual Behavior
You should not see an error
Additional Context
No response
Possible Solution
"from typing import Any" will need to be added in the code example.
Related Issues
No response