For the intention of Tayammum to be valid, the person must intend either purification, the permissibility of prayer, or an act of worship that is invalid without purification.

Tayammum: The Eight Conditions of Validity and Valid Excuses