Skip to content

pdf-tools

Handle PDF files end to end. Use when the user says 'read a PDF', 'extract text from a PDF', 'split a PDF', 'combine PDFs', or 'OCR a scanned PDF'. This includes reading or extracting text/tables from PDFs, combining, splitting, rotating, creating, filling, OCRing, decrypting, or otherwise transforming PDF documents with verification after each operation. This is the PDF tools methodology.

  • Area: Foundational
  • Category: documents
  • Level: advanced
  • Input: conversation
  • Output: document
  • Setup: install
  • Roles:

Handle PDF files end to end.

How you ask

  • “Merge these three PDF files into one document”
  • “Extract text from this scanned PDF using OCR”
  • “Split this PDF into separate pages”
  • “Rotate pages 3-5 of this PDF by 90 degrees”

Inputs

  • request — What to produce

Outputs

  • pdf-tools (markdown)
  • pdf-tools-pdf (pdf)
  • prefer a permanent directory)