You may be selected for and actually serve on a jury the day you are summoned, so it’s important that you dress appropriately. Jury service is serious business, and you should dress accordingly. Business attire is recommended.
Shorts, tank tops and flip-flop sandals are NOT considered appropriate attire for court. Jeans are allowed. When in doubt, dress seriously but with comfort in mind. Jury service can involve a good deal of sitting.