“cmd.edit_mode” switches the mouse into editing mode, if such a mode is available in the current mouse ring.
def edit_mode(active=1,quiet=1):
edit_mode | api