I have a python script published to an enterprise server and want to call this through a python script in ArcGIS Pro. I have found this page explaining how to call the tool. But, I was wondering if there is a way to specify which function in the published script is called first and if it is possible to return a dictionary object as an output.