convert_paper
Convert an academic paper by ID into sectioned markdown for LLM reading, using HTML/JATS sources or a cached PDF, so you can fetch sections or full text next.
Instructions
Convert a paper to markdown and index its sections (step 2 of the PDF pipeline).
Tries arXiv HTML, bioRxiv JATS, or (when no PDF is cached) Europe PMC JATS
first (seconds, no PDF needed), else converts the cached PDF. Returns
{sections, total_approx_tokens, sections_detected, cached, conversion_mode}
ā proceed straight to get_paper_section or get_paper_markdown. Full
mode is serialized server-wide (concurrent calls return busy: True);
mode="fast" is degraded plain text without the lock.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"identifier": "<identifier>"
},
"name": "convert_paper"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'full' (default, slow, serialized, keeps tables/equations) or 'fast' (plain text, no lock). | full |
| identifier | Yes | Paper identifier: arXiv ID, bioRxiv/medRxiv DOI, ACL Anthology ID/URL, DOI, PMID, PMCID (PMC...), or OpenAlex work ID (W...). Pipeline tools also accept freeform import labels. | |
| force_refresh | No | Drop cached markdown/sections and re-run conversion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||