This sentence comes from a letter by Cicero to Atticus written when the former is in exile. It can be found in Epistulae ad Atticum 3, 5:
Ad te quid scribam nescio.
I understand that "nescio" is the verb, meaning "I don't know", "I ignore". Then, "quid nescio" would be "I don't know what" and "ad te" can be interpreted as the preposition "ad" and the accusative pronoun "te", a complement which expresses finality meaning "to you", something similar to the dative pronoun "tibi".
However, I don't understand which is the role of "scribam" in this sentence. The accusative singular of the noun "scriba" or the first singular person of the future tense of the verb "scribo" don't make sense. Can you please explain this to me?