Non-player characters or alternative player-controlled characters used by the player with only this purpose in mind are called mules.
Characters controlled by the player, but only for a specific function, are called mules.