A global function must be described in a .xml file for the function to be displayed in the UDTT visual editors. This topic provides a description of the tags that must be used to describe a global function.
The tooling code sample is an example of a global function definition.