search_text
Search for text within a PDF file and retrieve page numbers along with surrounding context to quickly locate specific content in large documents.
Instructions
Search for specific text within a PDF file. Returns page numbers and context around the found text. Useful for finding specific content in large documents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Text to search for in the PDF | |
| file_path | Yes | Path to the PDF file to search within | |
| context_words | No | Number of words to include before and after each match (default: 10) | |
| case_sensitive | No | Whether to perform case-sensitive search (default: False) |