Recently I found an answer on this post, Scripture showing ways to summon Gandharva, Yaksha and Kinnar
I have recently bought the KAmAkhyA Tantram. The 5th chapter of this text is called "Mohini VidyA". In that chapter Lord Shiva tells Goddess PArvati different Mantras and methods of "Mohana KAryas" or methods of attracting beings.
There a Mantra is given that will attract every beings when mastered. It is capable of attracting (or summoning like you have said) Yakshas, deities, evil beings, human beings and everyone and even everything.
The Mantra is given in a code (as is quite usual in the Tantras):
ChaturthavarnamAkrishya dvitiya varga samsthitam | KritvA trividha hAhAntam tadante he dvitiyakam || AmkAram shirasam kritva pratykshara prajApanam | SahsrArdhasya japena phalam bhavati shAshvatam ||
In the above quote the first 3 lines are containing the Mantra in a hidden code which when decoded gives us a 8-lettered Mantra (which is not safe to give here).
The line which is highlighted says that "Siddhi of the Mantra will be attained by 500 chants only."
The utility or the power of the Mantra is given by Lord Shiva in the next verse:
MAnushyAsuradevAshcha yakshoragarAkshasAh | SthAvarA jangamAishchava AkrishtA ste varAngane ||
This attracting Mantra (Mohini VidyA) can attract human beings, demons, gods, Yakshas, NAgas, RAkshAs and everything movable and immovable.
I understand the code cannot be given in public, so if you know the answer we can chat in private elsewhere.