search_text_in_pdf
Search a loaded PDF document for specific text or regex patterns and get all occurrences with their page locations. Works only after loading a document with load_pdf.
Instructions
Search for text in a loaded PDF document and return all occurrences with their locations.
The document must be loaded first using load_pdf.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| use_regex | No | Whether to treat search_string as a regex pattern | |
| document_id | Yes | Identifier of the loaded document | |
| page_number | No | Specific page to search (0-indexed). If None, searches all pages | |
| search_string | Yes | Text or regex pattern to search for | |
| case_sensitive | No | Whether search should be case sensitive |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |