Search arXiv
search_arxivUse this when the user wants preprints from arXiv, such as "search arXiv for speculative decoding" or "newest cs.CL papers on tokenization". Pass topic words, and optionally an arXiv category such as cs.CL, from_year, sort (relevance or newest) and a limit of up to 10. Returns each preprint's title, authors, year, the start of its abstract, its arXiv page and its PDF link. Preprints are not peer reviewed.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 1,
"query": "attention is all you need"
},
"name": "search_arxiv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | relevance by default | |
| limit | No | Number of papers to return, 5 by default | |
| query | Yes | Topic words, such as "speculative decoding" | |
| category | No | arXiv category such as "cs.CL" or "stat.ML" | |
| from_year | No | Only papers published in this year or later |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | Yes | Date the indexes were read (UTC, YYYY-MM-DD); they are updated continuously | |
| note | Yes | ||
| as_of | Yes | ISO 8601 time the data was published by its source or fetched from it. A cached answer keeps the time of its fetch. | |
| count | Yes | ||
| error | No | Present when status is not ok: a stable code, what went wrong and what to do next. | |
| query | Yes | ||
| stale | No | Present when the results come from a cache entry past its 6-hour freshness: their age and what that means | |
| notice | Yes | ||
| source | Yes | Who the data comes from, to cite and to check it against. | |
| status | Yes | ||
| results | Yes | ||
| untrusted_source | Yes |