In our house, when my boys were little, we had a rule 'only 2 toys out each'. After all, with very few exceptions, a child can only play with one toy at a time.
Then, even before they were 3 years old, they helped to tidy up. no cajoling or jollying, it was just another game.
It was a short job and done in a trice. Something your daughter might like to adopt, as she too is tired.
Be firm and don't wait until the last minute when over-tiredness makes the children cross and awkward.
We also spent the last half-hour or so of any play time, after toys had been put away, sitting cuddled on the couch with a storybook. That calmed them down and often they just dozed off.
Play excites children and they need that calming down period.
Especially if they don't sleep well.
No screens, just quiet talking and cuddling before bedtime. My grandson sometimes needed a liquid magnesium, which their naturopath recommended.