The Claws star is joining the Fox cop drama as the "fun-loving, quick-witted partner of a by-the-books deputy in the department."