@koreandi My understanding of a tool changed pretty much with this approach, of ... gcodes.
A tool is a complex thing, and allows many items to be associated, for working in sync. For example, you need to start many items at once, and stop them at once, when start printing and stop printing.
Because of this, you need to associate to a tool the heaters, the fans, the motors, etc. However, there are limitations and cautions to this... as I learned too. For example, you usually do not want to associate with the tool all thermostatic fans, always, etc.
Because of this, you may need to associate both your motors to that tool, AFTER defining them, of course.
I only have one though:
M563 P0 S"E0" D0 H1 ; define tool 0, one motor, one heater
; or
M563 P0 S"E0" D0 H1:2 ; define tool 0, 1 motor two heaters
;or
M563 P0 S"E0" D0:1 H1 ; define tool 0, two motors, one heaters
; but this one idin not tested if it works, even if it is in plan