I guess you could use the player position in order to find the direction of the jump, something like this maybe will give you some direction.
player = get_node('/root/Node2D/Player')
var jump_direction = (position - player.position)
jump_direction.y -= 30 # Adding -30 to Y direction (UP)
jump_direction.y = clamp(jump_direction.y, -60, 0) # Max JumpForce is -60