Hat of Wizardry

Wondrous item, common (requires attunement by a wizard)

Description not available (not OGL).
But here is a summary:

Cast a wizard cantrip, subject to an Intelligence (Arcana) check.
Xanathar´s Guide to Everything
  1. DnD 5e Magic Items › Hat of Wizardry