pdf_search
Search PDF documents for any text or regex pattern, returning each match with page numbers and surrounding context for easy reference.
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) |