add data processing tools tool.py