Hi Slav,
Thank you very much for your answer.
I made a small javascript code for hide my agent and all work fine

Here a example for CourseLab community:
var a = new Object;
a.pid = 'OBJ_19'
CallMethod("agent_001", "HideAgent",a);
I found the real name object in runtime.xml file.
Slav,
I have another question for you:
could you provide same code to set method parameters?
I like programming and with last request I will can completely program my course via javascript.
Thank you
Angelo