Call Deluge function via rest/xml rpc api?

Call Deluge function via rest/xml rpc api?

Hi!
I need to invoke deluge custom function via api.
I can't find any information about it, except this tread.
Is it possible?

Thanks,
Alex.