1-level Divination (ritual)
You choose one object that you must touch throughout the casting of the spell. If it is a common, uncommon or rare magical item or some other magic-imbued object, you learn its properties and how to use them, whether it requires attunement to use, and how many charges it has, if any. Beyond that, you learn whether any spells or magical effects up to 3rd level are affecting the item or created it, and have thereon advantage on INT (Arcana) checks to identify what they are, though not automatically how to annulate them.
If you instead touch a creature throughout the casting, you learn if any spells or magical effects up to 3rd level are currently affecting it, and have thereon advantage on INT (Arcana) checks to identify what they are, though not automatically how to annulate them.
At higher levels: When you cast this spell using a spell slot of 3rd level or higher, you can furthermore identify very rare items and spells / magical effects up to 5th level. This effect increases to legendary items and 7th level spells / magical effects when using a spell slot of 5th level or higher, as well as to artifact items and 9th level spells / magical effects when using a spell slot of 7th level or higher.