add tool for frontend