Passing the output of the Feature Class to Feature Class tool to Repair Geometry will work with inline parameter substitution, since the output of that tool is guaranteed to be a Feature Class. I've been trying to find a way to use Repair Geometry with parameter substitution without using the FC to FC tool, since it has some unfortunate table updating problems when the input changes, but to no avail.
... View more