def set_type(self, agent_type):
        """Set the type of agent to spawn in Holodeck. Currently accepted agents are: DiscreteSphereAgent, UAVAgent,
        and AndroidAgent.

        Args:
            agent_type (str): The type of agent to spawn.
        """
        type_str = SpawnAgentCommand.__type_keys[agent_type]
        self.add_string_parameters(type_str)