Tony-winner Daniel Radcliffe has joined the cast of a new comedy pilot from 30 Rock creators Robert Carlock and Tina Fey.