editing the database directly is really dangerous IMO, nevertheless I once was obliged to do it and the original SQLlite command-line client
http://www.sqlite.org/download.html saved me.
Maybe you could try to embed your call to your third party tool along with this client (and some SQL) within some kind of Windows batch file or WSH script. Quick and dirty but may be effective to help automatizing your process.