pdf_search
Search for text in a PDF using plain text or regex. Returns all matches with page numbers and surrounding context.
Instructions
Search for text in a PDF. Returns all matches with page numbers and surrounding context. Supports plain text and regex search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Text or regex pattern to search for | |
| regex | No | Treat query as a regex pattern (default: false) | |
| filePath | Yes | PDF file path | |
| contextChars | No | Characters of context around each match (default: 60) | |
| caseSensitive | No | Case-sensitive search (default: false) |