Question: what is the purpose of the 3 eyed raven?
Answer: The purpose of the now-deceased Three-Eyed Raven seems to have been primarily to locate and summon Brandon Stark. To do this, he has used the greensight to infiltrate the dreams of both Bran and Jojen Reed, who aided and Bran and guided him toward the cave, apparently willingly giving his life in the process.