changedInput schema / properties / doi / description
Previous value: -"Preprint DOI (e.g. 10.1101/2024.05.28.596311 or 10.64898/2026.05.07.723463). The latest version is resolved automatically."New value: +"Preprint DOI (e.g. 10.1101/2024.05.28.596311 or 10.64898/2026.05.07.723463). A doi.org or biorxiv.org/medrxiv.org article URL, a doi: prefix, or a .full suffix is accepted and stripped; a trailing vN (…596311v2) requests that version. Without one, the latest version is resolved automatically."
addedInput schema / properties / version
Added value: +{
+ "description": "Preprint version to read (1, 2, …) — the revision numbers biorxiv_get_preprint lists. Omit for the latest version. Must match a vN suffix on the DOI when both are given.",
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+}
changedOutput schema / anyOf
Previous value: -[
- {
- "not": {
- "required": [
- "error"
- ]
- },
- "required": [
- "doi",
- "server",
- "version",
- "content",
- "contentFormat",
- "sourceUrl",
- "offset",
- "length",
- "totalChars",
- "remainingChars",
- "hasMore"
- ]
- },
- {
- "required": [
- "error"
- ]
- }
-]New value: +[
+ {
+ "not": {
+ "required": [
+ "error"
+ ]
+ },
+ "required": [
+ "doi",
+ "server",
+ "version",
+ "content",
+ "contentFormat",
+ "wordCount",
+ "sourceUrl",
+ "offset",
+ "length",
+ "totalChars",
+ "remainingChars",
+ "hasMore"
+ ]
+ },
+ {
+ "required": [
+ "error"
+ ]
+ }
+]
changedOutput schema / properties / doi / description
Previous value: -"The resolved preprint DOI."New value: +"The resolved preprint DOI, in bare form."
changedOutput schema / properties / error / properties / data / properties / reason / description
Previous value: -"Machine-readable failure mode. Declared by this tool: `invalid_doi_format`: The input DOI does not match the 10.NNNN/ pattern. `doi_not_found`: The DOI resolves to an empty collection on every attempted server. `upstream_unavailable`: No attempted server resolved the DOI and at least one lookup failed against api.biorxiv.org. `rate_limited`: Either origin returned HTTP 429 for this host — the article page (www.biorxiv.org / www.medrxiv.org) during the full-text fetch, or api.biorxiv.org during version resolution. `fulltext_unavailable`: The preprint exists but its full-text HTML page is blocked, missing, or yields no extractable text (PDF-only). `offset_out_of_range`: offset is greater than or equal to the total character length of the extracted text. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `invalid_doi_format`: The input DOI does not match the 10.NNNN/ pattern, even after URL, doi:, and suffix stripping. `version_conflict`: The DOI carries a vN suffix and the version input names a different version. `version_not_found`: The preprint exists but has no revision with the requested version number. `doi_not_found`: The DOI resolves to an empty collection on every attempted server. `upstream_unavailable`: No attempted server resolved the DOI and at least one lookup failed against api.biorxiv.org. `rate_limited`: Either origin returned HTTP 429 for this host — the article page (www.biorxiv.org / www.medrxiv.org) during the full-text fetch, or api.biorxiv.org during version resolution. `fulltext_unavailable`: The preprint exists but its full-text HTML page is blocked, missing, or yields no extractable text (PDF-only). `offset_out_of_range`: offset is greater than or equal to the total character length of the extracted text. Other values are possible when a failure originates below the handler."
changedOutput schema / properties / error / properties / data / properties / reason / examples
Previous value: -[
- "invalid_doi_format",
- "doi_not_found",
- "upstream_unavailable",
- "rate_limited",
- "fulltext_unavailable",
- "offset_out_of_range"
-]New value: +[
+ "invalid_doi_format",
+ "version_conflict",
+ "version_not_found",
+ "doi_not_found",
+ "upstream_unavailable",
+ "rate_limited",
+ "fulltext_unavailable",
+ "offset_out_of_range"
+]
changedOutput schema / properties / version / description
Previous value: -"Preprint version whose full text was retrieved (the latest revision)."New value: +"Preprint version whose full text was retrieved — the requested one, or the latest revision when none was requested. Pass it back as version when paging."
changedOutput schema / properties / wordCount / description
Previous value: -"Approximate word count of the FULL extracted article as reported by the extractor (not just the returned chunk). Absent when the extractor reported none."New value: +"Approximate word count of the FULL extracted article, not just the returned chunk — whitespace-delimited tokens of the same Markdown text that totalChars measures, so Markdown markers such as # and - count too."