> 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`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://whitepaper.aitech.io/agentforge/tools/arxiv.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
