His character will act as a mentor to Peter Parker, a role that was previously occupied by Tony Stark