She told the kids to put away their toys.

Literal

She [topic-は] children [target-に] toys [object-を] tidy-up [so as to-ように] told.

The indirect-command frame ~ように言う threads through the sentence: the embedded clause かたづける is the content of the directive; ように nominalizes it; 言った reports the act of saying. かたづける ('to put away, tidy up, organize') is the everyday verb for restoring order to a space — putting toys back, clearing dishes, sorting documents. The kanji form 片付ける splits 片 ('piece, fragment') + 付ける ('attach, fasten') — 'to put pieces in place,' a fitting image for tidying.