I believe that should work. Also if you dont want to use up all your slaves focus.

/cast [target=pallytarget] spell

Works the same way as what you wrote just a different way to spell it out. I think they use something similar for FTL targeting.