Alphaxiv Answer PDF Queries
1积分/次
ae_alphaxiv_answer_pdf_queries
根据问题读取一篇 PDF 中的相关原文段落。返回经过筛选的页面原文,格式为 XML(<paper id="..."><page num="N">...</page>...</paper>),而不是综合生成的答案。传入普通网页 URL 时,返回可读的网页文本,类似 read_webpage;只有 PDF 会按相关性对页面排序。支持 arXiv、alphaXiv 和 Semantic Scholar 的摘要页。 在 request_body 中,将 paper 设为论文 ID、URL 或完整标题,并将 queries 设为字符串数组,每个字符串只写一个问题。可以直接提供标题,无需先查找 URL,但标题必须唯一且精确匹配;标题有歧义或未找到时,不会读取其他论文作为替代。如需确认论文,可先用 lookup_paper 查看候选项,再传入选定的 ID。 将同一篇论文的所有问题集中在一次调用中。PDF 调用会在固定大小范围内返回最相关的页面,因此增加同一篇论文的问题几乎不产生额外成本。阅读多篇论文时,可并行发起多次调用,每次处理一篇;这些调用计为一轮搜索。凡是依据返回的 PDF <page> 文本作出的论断,都应附上根据该文本构建的引用标签。
1积分/次
价格说明
1积分/次
| 条件 | 费用 |
|---|---|
| 每次调用 | 1积分/次 |
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
paper | string | 是 | The paper to read, as an ID ('2307.12307'), a URL ('https://arxiv.org/pdf/2307.12307', 'https://www.alphaxiv.org/abs/2307.12307'), or a full title ('Attention Is All You Need'). Titles require a unique exact match; ambiguous names and missing titles do not read a substitute paper. Use lookup_paper to inspect candidates and then pass the chosen ID. | — |
queries | array | 是 | What you are looking for in the paper, as one string per question — ['What datasets were used?', 'What are the ablation results?'], not several questions joined into one string. Every question about this paper belongs in this one call. | — |
调用示例
参数模板根据参数配置生成,使用前请替换示例值。
POST
/agent-api/v1/tool/executeX-Api-Key请求代码request.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_alphaxiv_answer_pdf_queries' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"paper": "xxx",
"queries": [
"xxx"
]
}
}'暂无返回示例。





