search_paper_text
Find matching passages in a downloaded arXiv paper using a case-insensitive substring query, with section offsets and near-duplicate suppression for concise, relevant excerpts.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"paper_id": "<paper_id>",
"query": "<query>"
},
"name": "search_paper_text"
}
}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) |