Electromechanical capillary