citation_graph
Retrieve papers that cite or are referenced by an arXiv paper via Semantic Scholar, with bounded results and disk caching to limit API calls.
Instructions
Return papers citing an arXiv paper and papers that it references using Semantic Scholar's citation graph. Results are bounded (default 50) to stay within the unauthenticated quota. Graphs are cached on disk to reduce repeated API calls. Under load, a free Semantic Scholar API key (https://www.semanticscholar.org/product/api#api-key) makes this reliable; without a key, persistent rate limits return status=rate_limited with an unmistakable warning instead of failing hard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paper_id | Yes | arXiv ID (for example: 2401.12345). | |
| max_citations | No | Maximum citations and references to return (default 50). |