Moving mechanisms for tool electrodes