Both are correct, but the sentence would read better if to school came before the list. Also, I would use a comma before such as . They brought many tools to school , such as pails, brooms, and so on.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.