contestada

In the following sentence, what part of speech is “writing”?
Ballpoint pens and wooden pencils are the only writing tools for me.