Maya Python: Trigger Mouse Click LMB or RMB?

Hey TA,

So I’m a bit confused with this one.
Given xy coordinates, is it possible with Maya Python to actually mouse “click”… such as lmb or rmb?

I know we can monitor and detect clicks, but I want to actually trigger a click through code.

What command am I missing?