Defining an NFC tag as NDEF using the Arduino Uno and the PN532 NFC module
I found the answer to my own question right after posting it, while going through the examples included in the library above:

The library contains an example named "FormatTag" which does exactly what I was looking for.