Meaning of “toy with sth” - Learner’s Dictionary

toy with sth

phrasal verb with toy us uk /tɔɪ/ verb

to briefly think about doing something, but not really intend to do it:

I've toyed with the idea of going to work abroad.

to move something around in your hands without any clear purpose:

He sat toying with his empty glass.

(Definition of “toy with sth” from the Cambridge Learner’s Dictionary © Cambridge University Press)