I think the pills are intended to inhibit her magic and ability to use her wings. I think Nyles has a few different green pills. I would say put Nyles in a portal, but she would just tell their location. But I'd put a hood over her head so she wouldn't know their locations.