Arxiv Tools¶

Configuration File: arxiv_tools.json Tool Type: Local Tools Count: 2

This page contains all tools defined in the arxiv_tools.json configuration file.

Available Tools¶

ArXiv_get_pdf_snippets (Type: ArXivPDFSnippetsTool)¶

Fetch an arXiv paper’s PDF and return bounded text snippets around provided terms. Uses markitdow…

ArXiv_get_pdf_snippets tool specification

Tool Information:

  • Name: ArXiv_get_pdf_snippets

  • Type: ArXivPDFSnippetsTool

  • Description: Fetch an arXiv paper’s PDF and return bounded text snippets around provided terms. Uses markitdown to convert PDF to markdown. All arXiv papers are freely available (no paywall). Useful when key details are in the full text rather than abstract.

Parameters:

  • arxiv_id (string) (optional) arXiv paper ID (e.g., ā€˜2301.12345’ or ā€˜arXiv:2301.12345’). The tool will build the PDF URL automatically.

  • pdf_url (string) (optional) Direct PDF URL (e.g., ā€˜https://arxiv.org/pdf/2301.12345.pdf’).

  • terms (array) (required) Terms to search for in the extracted full text (case-insensitive).

  • window_chars (integer) (optional) Context window size (characters) before and after each match.

  • max_snippets_per_term (integer) (optional) Maximum number of snippets returned per term.

  • max_total_chars (integer) (optional) Hard cap on total characters returned across all snippets.

Example Usage:

query = {
    "name": "ArXiv_get_pdf_snippets",
    "arguments": {
        "terms": ["item1", "item2"]
    }
}
result = tu.run(query)

ArXiv_search_papers (Type: ArXivTool)¶

Search arXiv for papers by keyword using the public arXiv API. Returns papers with title, abstrac…

ArXiv_search_papers tool specification

Tool Information:

  • Name: ArXiv_search_papers

  • Type: ArXivTool

  • Description: Search arXiv for papers by keyword using the public arXiv API. Returns papers with title, abstract, authors, publication date, category, and URL.

Parameters:

  • query (string) (required) Search query for arXiv papers. Use keywords separated by spaces to refine your search.

  • limit (integer) (optional) Number of papers to return. This sets the maximum number of papers retrieved from arXiv.

  • sort_by (string) (optional) Sort order for results. Options: ā€˜relevance’, ā€˜lastUpdatedDate’, ā€˜submittedDate’

  • sort_order (string) (optional) Sort direction. Options: ā€˜ascending’, ā€˜descending’

Example Usage:

query = {
    "name": "ArXiv_search_papers",
    "arguments": {
        "query": "example_value"
    }
}
result = tu.run(query)