Arxiv 工具¶
Configuration File: arxiv_tools.json
Tool Type: Local
Tools Count: 2
此页面包含在``arxiv_tools.json``配置文件中定义的所有工具。
可用工具¶
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
工具信息:
Name:
ArXiv_get_pdf_snippetsType:
ArXivPDFSnippetsToolDescription: 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.
参数:
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.
示例用法:
query = {
"name": "ArXiv_get_pdf_snippets",
"arguments": {
"terms": ["item1", "item2"]
}
}
result = tu.run(query)
**ArXiv_search_papers**(类型:ArXiv工具)¶
使用公共 arXiv API 根据关键词搜索 arXiv 论文。返回包含标题、摘要的论文信息…
ArXiv_search_papers 工具规格说明
工具信息:
名称:
ArXiv_search_papers类型:
ArXivTool描述:使用公共 arXiv API 根据关键词搜索 arXiv 论文。返回包含标题、摘要、作者、发布日期、分类及链接的论文信息。
参数:
``query``(字符串)(必填)用于搜索arXiv论文的查询词。使用空格分隔的关键词以细化搜索结果。
``limit``(整数)(可选)返回的论文数量。此参数设置从arXiv检索的论文最大数量。
``sort_by``(字符串)(可选)结果的排序方式。选项包括:’relevance’(相关性)、’lastUpdatedDate’(最后更新日期)、’submittedDate’(提交日期)
``sort_order``(字符串)(可选)排序方向。选项:‘ascending’、‘descending’
date_from(string) (optional) Filter results from this date (format: YYYY-MM-DD). Uses submittedDate range.date_to(string) (optional) Filter results up to this date (format: YYYY-MM-DD). Uses submittedDate range.
示例用法:
query = {
"name": "ArXiv_search_papers",
"arguments": {
"query": "example_value"
}
}
result = tu.run(query)