object - string, name of program (or service program if using function attribute) function - string, name of function (optional, only required when calling export functions in a service program) result - object defining the return type of the function (optional, only needed if return type ...