The rear of the moonroof can be tilted open to provide more ventilation.
To fully tilt automatically, momentarily press the tilt/slide switch.
To fully close automatically, momentarily press the tilt/slide switch in the forward direction.
To stop tilting partway, press the tilt/slide switch.

Moonroof (Some models)
Slide OperationMazda 6 Owners Manual: Dtc c1955, c1956
Caution
When attaching the tester lead to the DSC HU/CM connector the SST
(49 G066 004) must be used.
Diagnostic procedure
...
Mazda 6 Owners Manual: Replacing Interior Light Bulbs
Overhead lights/Front map lights (LED type), Rear map lights (LED type)
The LED bulb cannot be replaced as a single unit because it is an integrated
unit. The LED bulb has to be replaced with the unit. We recommend an Authorized
Mazda Dealer when the replacement is necessary.
Overhead lights/F ...