pdf_search
Search text in a PDF and view matches with surrounding context and page numbers. Supports case-sensitive and page range options.
Instructions
Search text across a PDF and return matches with a short surrounding snippet and the page number. The query is matched as a literal substring (case-insensitive by default). Searches all pages unless a range is given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the PDF file | |
| query | Yes | Literal text to find (matched as a substring) | |
| caseSensitive | No | Match case exactly. Defaults to false. | |
| pages | No | Page range, e.g. '1-5'. Defaults to all pages. |