Does Chandelure VMAX's "Cursed Shimmer" Ability prevent Maractus' "Ditch and Shake" attack from discarding any number of Pokemon Tool cards?
No, Cursed Shimmer only prevents the opponent from playing Pokemon Tool cards from their hand; that is not the same thing as discarding Pokemon Tool cards for Ditch and Shake.
Source: Fusion Strike FAQ; TPCi Rules Team (2021-11-11)

Relevant cards

Note: All applicable cards may not be listed below.
SWSH8_40
SWSH8_40
SWSH8_12
SWSH8_12