τίς as adj

τί δέ σε φρένας ἵκετο πένθος;
Here τί is used as an adj. Can it be used this way in Attic or is this usage restricted only to Homer?

Adjectival τί shows up a lot in the NT. Xenophon figuring himself out in Anabasis: τί κατάκειμαι;