docs/tools/table-of-contents.md
This tool reads the bookmarks (outlines) in your PDF and generates a formatted table of contents page that gets prepended to the document. If your PDF already has bookmarks but lacks a visible TOC page, this tool creates one automatically.