Say Ditto uses its "Transform" Ability to become a Klefki, then Klefki uses its "Wonder Lock" Ability to attach it to another Pokemon as a tool. When doing this what happens to the Ditto and Klefki cards?
The Ditto card gets discarded when Klefki is attached as a tool.
Source: TPCi Rules Team (2019-01-24)

Relevant cards

Note: All applicable cards may not be listed below.
BW7_108
XY11_80