Tokyo stocks opened higher on Tuesday, extending rallies on Wall Street, where high-tech shares led the gains.