Victoria is helpful
For the record and future users, it is a query type that shows up inside of the list of resource options the same as a Run JS Code query type.
We are slowly getting better PDF support added in, there is now a simple JS utility option that downloads the current state of your app as a PDF: https://docs.retool.com/docs/scripting-retool#utilsdownloadpagefilename-string