Not a full documentation but it might help to get an idea of how to use the format can be found in https://github.com/geany/geany/blob/master/scripts/create_py_tags.py. This script generates a tag file with Python tags.
What exactly do you want to achieve? Tags files can also be generated by Geany itself, so this might be easier for you.