fetch_fulltext
Download a preprint's full text as markdown by providing its DOI. The paper is retrieved from an S3 bucket, converted from JATS XML to markdown.
Instructions
Fetch the full text of a preprint as markdown, given its DOI.
Downloads the paper's source package from the Requester-Pays S3 bucket (your AWS account pays a fraction of a cent), extracts the JATS XML, and converts it to markdown. First use of a given month is slower (it indexes that month once); later DOIs in the same month are fast.
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": {
"doi": "<doi>"
},
"name": "fetch_fulltext"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doi | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |