fetch_paper_text
Retrieve full text and normalized section splits from academic papers. Choose auto, HTML, or PDF format to get structured content for analysis.
Instructions
Return best-effort full text + section split for a paper.
prefer: one of "auto" (default), "html" (force ar5iv HTML — arXiv only), or "pdf". Sections are normalised to lowercase canonical names: abstract, introduction, methods, experiments, results, discussion, conclusion, limitations, related_work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefer | No | auto | |
| input_str | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| paper_id | Yes | ||
| sections | No | Section name (lowercased) -> text. Empty if extraction couldn't segment. | |
| char_count | Yes | ||
| source_url | Yes | ||
| extraction_method | Yes |