I am trying to create a new tool in ArcGIS Pro that is based on a python script written in the Jupyter Notebook interface. I realize I can write the script elsewhere and save it as a *.py file and point the new tool to it, or simply convert the *.ipynb file into a *.py file (as explained here, for example). But these methods force me to have a *.py file for every script I write in Notebooks.
Is there a way to link the new tool directly to the *.ipynb file?