tool for getting instance name via rest API