Actuated transitory metal--ligand bond as tunable electromechanical switch.