search_paper_text
Find matching passages in a downloaded arXiv paper by case-insensitive substring, returning bounded excerpts with section/source offsets while suppressing near-duplicates and favoring section-diverse hits.
Instructions
Search a downloaded paper for bounded matching passages with section/source offsets. Suppresses high-overlap near-duplicates and prefers section-diverse hits. Lightweight substring search; no Torch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Case-insensitive substring to find | |
| paper_id | Yes | Validated modern or legacy arXiv paper ID | |
| max_passages | No | Maximum passages to return (default 8) | |
| passage_chars | No | Max characters per excerpt (default 800) |