I do this with my three year old and it works a charm. "Rylan, you need to go to the toilet don't you?" While Nodding.

"Yes daddy I go toilet".

He doesn't actually end up going but he agrees to whatever I'm saying.