Read Help Document
Create an instance parameter named "View" for the Detail Items category. Then this tool will automatically set and update that parameter when Detail Items and their Views are created and modified.
About This VersionVersion 2.0, 2/6/2019
Support Revit 2019