added a rest api tool