Use model.component(<ctag>).geom(<tag>).create(<ftag>),"CollapseFaceRegions") to collapse narrow face regions.
Use model.component(<ctag>).geom(<tag>).feature(<ftag>).selection("input") to select the faces where narrow regions should be collapsed. The default selection is empty.