There's ydotool, but as far as I tested with it, the only movements that work are relative movements. You can't tell it to a click a specific x/y because it will fumble badly (Nobara / Fedora 38 )
iirc ydotool just whips a relative device into a corner before trying to position it, which gets it extra wrong if there's mouse acceleration. It's one of the reasons I wrote dotool (https://git.sr.ht/~geb/dotool): echo mouseto 0.5 0.5 | dotool