find_and_highlight_text
Search PDF files for specific text and highlight matches on selected pages. Returns position information for each occurrence.
Instructions
Find text and return information for highlighting matches.
Args:
file_path: Path to PDF file
query: Text to search for
pages: Page range (e.g., '1,3,5-10,-1') or None for all pages
case_sensitive: Whether search is case-sensitive (default: False)
Returns:
JSON string with page highlights and position informationInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| query | Yes | ||
| pages | No | ||
| case_sensitive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |