> For the complete documentation index, see [llms.txt](https://whitepaper.aitech.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://whitepaper.aitech.io/agentforge/tools/arxiv.md).

# arxiv

[ArXiv](https://arxiv.org/) is a free, open-access repository of scientific research papers in fields such as physics, mathematics, computer science, quantitative biology, quantitative finance, statistics, electrical engineering, systems science, and economics. ArXiv provides a vast collection of preprints and published articles, making it a primary resource for researchers and practitioners worldwide.

With ArXiv, you can:

* **Search for academic papers**: Find research by keywords, author names, titles, categories, and more
* **Retrieve paper metadata**: Access abstracts, author lists, publication dates, and other bibliographic information
* **Download full-text PDFs**: Obtain the complete text of most papers for in-depth study
* **Explore author contributions**: View all papers by a specific author
* **Stay up-to-date**: Discover the latest submissions and trending topics in your field

In Agent Forge, the ArXiv integration enables your agents to programmatically search, retrieve, and analyze scientific papers from ArXiv. This allows you to automate literature reviews, build research assistants, or incorporate up-to-date scientific knowledge into your agentic workflows. Use ArXiv as a dynamic data source for research, discovery, and knowledge extraction within your Agent Forge projects.

### Usage Instructions

Search for academic papers, retrieve metadata, download papers, and access the vast collection of scientific research on ArXiv.

### Tools

#### `arxiv_search`

Search for academic papers on ArXiv by keywords, authors, titles, or other fields.

**Input**

| Parameter     | Type   | Required | Description                                                                                                                      |
| ------------- | ------ | -------- | -------------------------------------------------------------------------------------------------------------------------------- |
| `searchQuery` | string | Yes      | The search query to execute                                                                                                      |
| `searchField` | string | No       | Field to search in: all, ti (title), au (author), abs (abstract), co (comment), jr (journal), cat (category), rn (report number) |
| `maxResults`  | number | No       | Maximum number of results to return (default: 10, max: 2000)                                                                     |
| `sortBy`      | string | No       | Sort by: relevance, lastUpdatedDate, submittedDate (default: relevance)                                                          |
| `sortOrder`   | string | No       | Sort order: ascending, descending (default: descending)                                                                          |

**Output**

| Parameter      | Type   | Description         |
| -------------- | ------ | ------------------- |
| `papers`       | json   | Found papers data   |
| `totalResults` | number | Total results count |
| `paper`        | json   | Paper details       |
| `authorPapers` | json   | Author papers list  |

#### `arxiv_get_paper`

Get detailed information about a specific ArXiv paper by its ID.

**Input**

| Parameter | Type   | Required | Description    |
| --------- | ------ | -------- | -------------- |
| `paperId` | string | Yes      | ArXiv paper ID |

**Output**

| Parameter      | Type   | Description         |
| -------------- | ------ | ------------------- |
| `papers`       | json   | Found papers data   |
| `totalResults` | number | Total results count |
| `paper`        | json   | Paper details       |
| `authorPapers` | json   | Author papers list  |

#### `arxiv_get_author_papers`

Search for papers by a specific author on ArXiv.

**Input**

| Parameter    | Type   | Required | Description                                                  |
| ------------ | ------ | -------- | ------------------------------------------------------------ |
| `authorName` | string | Yes      | Author name to search for                                    |
| `maxResults` | number | No       | Maximum number of results to return (default: 10, max: 2000) |

**Output**

| Parameter      | Type   | Description         |
| -------------- | ------ | ------------------- |
| `papers`       | json   | Found papers data   |
| `totalResults` | number | Total results count |
| `paper`        | json   | Paper details       |
| `authorPapers` | json   | Author papers list  |

### Notes

* Category: `tools`
* Type: `arxiv`
