Search within a paper
search_in_paperFinds every occurrence of a word or phrase in an arXiv paper’s full text, downloading it if needed, and returns surrounding context plus the section for each match.
Instructions
Find every occurrence of a word or phrase in a paper's full text (downloaded automatically if needed), with surrounding context and the section it appears in. Plain-text match, not regex.
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": {
"arxivId": "<arxivId>",
"query": "<query>"
},
"name": "search_in_paper"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Word or phrase to find | |
| arxivId | Yes | arXiv ID or URL | |
| maxMatches | No | ||
| contextChars | No | Characters of context on each side | |
| caseSensitive | No |