Described herein are a sterile handle for use with a robotic surgical system, for example, during spinal surgery. In certain embodiments, the sterile handle adds functionalities and an interface to existing surgical tools such that the robotic system may be commanded from the sterile field during surgery. The sterile handle permits a user, such as a surgeon, to physically manipulate the location of the end-effector of a robotic surgical system. The sterile handle may include an input device that allows the user to limit the movement of the end-effector, such as limiting the movement to translations or rotations only. The sterile handle may detect the presence of a user's hand. This ensures the end-effector is only moved when the user manipulates the sterile handle and reduces the likelihood that the end-effector is moved unintentionally.