Ai intelligent jump

Is there any way to make an ai character intelligently jump? If my player is on top of a ridge and only way to get them is to jump up to get up to them? I already know about the nav link. Im trying to work out so the enemy just figures out it needs to jump