search_text
Find specific text within PDF documents by searching with case-insensitive queries and retrieving results with page numbers and surrounding context.
Instructions
Search for text in a PDF file (case-insensitive).
Returns a list of hits with page number and surrounding context.
Args:
filename: Path to a PDF file.
query: Text to search for.
context_chars: Characters of context to include around each hit. Default 100.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| query | Yes | ||
| context_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |