Skip to main content
Glama
cyanheads

pubmed-mcp-server

by cyanheads

Pubmed Fetch Fulltext

pubmed_fetch_fulltext
Read-only

Fetch full-text articles from PubMed Central as structured sections — the body, then back matter such as acknowledgments, declarations, and appendices — with tables and references.

Instructions

Fetch full-text articles from PubMed Central as structured sections — the body, then back matter such as acknowledgments, declarations, and appendices — with tables and references. When PMC misses, transparently falls back to Europe PMC fullTextXML (structured JATS for records with a PMC counterpart). Name articles by pmcids (PMC IDs directly), pmids (PubMed IDs, auto-resolved), dois (DOIs, auto-resolved to PMC via the ID Converter; preprints with a PMC counterpart recover via Europe PMC), or any mix of the three — up to 50 distinct identifiers; the first 10 are fetched per call, the rest returned in overLimit; an article several of them name is fetched and returned once. Two independent character controls: maxCharacters caps body text per article, maxResponseCharacters caps the whole response and defers articles past the ceiling whole, listing them in deferred.ids for a follow-up call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doisNoDOIs to resolve (e.g. ["10.21203/rs.3.rs-9010375/v1"]), one per element. Combinable with `pmcids` and `pmids` — up to 50 distinct identifiers across the three; the first 10 are fetched per call, the rest returned in `overLimit`. Resolved to a PMCID via the PMC ID Converter and returned as structured JATS when the article is in PMC; DOIs with no PMC counterpart (preprints, EPMC-only OA) fall through to Europe PMC, then Unpaywall, when those layers are enabled.
pmidsNoPubMed IDs. Combinable with `pmcids` and `dois` — up to 50 distinct identifiers across the three; the first 10 are fetched per call, the rest returned in `overLimit`. Articles in PMC are returned as structured JATS; articles not in PMC fall through to Europe PMC (when EPMC has a `fullTextXML`), then to Unpaywall when `UNPAYWALL_EMAIL` is set and a DOI is available.
pmcidsNoPMC IDs to fetch (e.g. ["PMC9575052"]). Combinable with `pmids` and `dois` — up to 50 distinct identifiers across the three; the first 10 are fetched per call, the rest returned in `overLimit`. PMC IDs with no retrievable full text fall through to Europe PMC, then to Unpaywall on the DOI the chain resolves for them.
sectionsNoFilter to specific sections by title (e.g. ["Introduction", "Methods", "Results", "Discussion"]). A term matches a section or subsection title at any nesting depth, case-insensitively, as a substring — "resul" matches "Results". Back-matter sections match the same way: by their own titles, or by their kind when they carry neither a title nor a label — "appendix" matches a section titled "Appendix A", "footnotes" an untitled footnote group. A label is never matched, so an appendix labelled "Appendix A" under a title of its own matches only on that title. A section whose own title matches is returned whole; one kept only because a nested subsection matched keeps its heading as a breadcrumb, with its own text cleared and only the matching branch beneath it. Tables and assets narrow with the filter: one whose section did not survive, or that names no section, is dropped. Empty strings are skipped, so `[""]` applies no filter; an element of only whitespace or invisible characters, such as a zero-width space, is rejected. Applies to `source=pmc` results only.
maxSectionsNoMaximum top-level sections. Back-matter sections count and follow the body, so a cap drops them first. Applies to `source=pmc` results only.
overflowModeNoHow to spend `maxCharacters` across an article that exceeds it. truncate: fill sections in document order, so early sections stay whole, the section the budget runs out in is cut, and every section or subsection past that point is dropped (counted in `truncation.omittedSections`). outline: split the budget evenly so every section and subsection keeps its heading, and an excerpt as far as the budget reaches — a heading the budget left empty is marked as such in the rendered text. In both modes the body sections spend the budget first and back-matter sections share what the body, tables, and assets leave. Use it to survey what an article contains before requesting specific `sections`. Ignored when no budget is set, and identical for `source=unpaywall` bodies, which have no headings to preserve.truncate
includeAssetsNoInclude the article's figures and supplementary material — `assets[]`, each with its label, caption, enclosing section and deposit pointer. On by default because it is cheaper than tables: a median asset-bearing article grows about 10%, and the body prose already refers to these by label. Set false to omit them, which also removes the `[Figure: …]` / `[Supplementary: …]` markers from the section text, since without the array they point at nothing. Prose-shaped blocks — lists, definition lists, block quotes, boxed text, preformatted blocks, displayed formulae — are section text rather than assets and this switch never affects them. Applies to `source=pmc` results only.
includeTablesNoInclude the article's tables — cells, captions, labels and footnotes. On by default because a dropped table takes its numbers with it. Table-dense articles pay for it: rendered tables typically add 12–17% to an article record and can more than double it. Set false to omit them, or cap the cost with `maxCharacters`, which drops tables it cannot fit whole. Applies to `source=pmc` results only.
maxCharactersNoPer-article budget for body text, in characters. Counts `source=pmc` section and subsection text — which carries the inline blocks the parser renders in place, such as lists, definition lists, block quotes, boxed text, preformatted blocks and displayed formulae — plus table label, caption, cell and footnote text and asset label, caption and `href` text; or the `source=unpaywall` `content` body. Titles, abstracts, identifiers, and references are never counted or shortened. Shortened text ends at the last word boundary inside its allowance, so it can come back a few characters under it. The counted unit is that text alone — the Markdown grid `content[]` renders around the cells (pipes, padding, the divider row, headings) is scaffolding this budget does not measure, so a table renders longer than it costs here. Body sections are served first, then tables, then assets, then back-matter sections, each spending what is left, in document order. For tables and assets, admission stops at the first entry that does not fit, and every entry from there on is dropped whole rather than cut mid-row or returned with a shortened caption, counted in `truncation.omittedTables` / `truncation.omittedAssets` and named in `truncation.articles[].omittedTableNames` / `omittedAssetNames`. Back matter takes only what remains and is shortened or dropped as body sections are; `sections` still returns it after the body. Applied after `sections`, `maxSections`, `includeReferences`, `includeTables`, and `includeAssets`, so semantic filtering is unaffected. This knob alone bounds only bodies: the response-wide ceiling it implies is this value times the number of articles returned, plus every uncounted field. Use `maxResponseCharacters` for a true whole-response ceiling. Omit for the full body.
includeReferencesNoInclude reference list. Applies to `source=pmc` results only.
maxResponseCharactersNoOpt-in ceiling for the whole response, in characters — the true response-wide counterpart to the per-article `maxCharacters`. Each article is measured as the JSON record it is returned as, after every filter and the per-article body budget: title, abstract, sections, references, identifiers, license and source metadata — every field it carries. One ledger covers all tiers, so PMC-, Europe PMC-, and Unpaywall-served articles spend the same budget. Articles are kept in the order `articles` lists them until the next one would cross the ceiling; that article and the rest are deferred whole (never partially populated) and listed in `deferred.ids`. Response envelope fields — counts, `unavailable`, `truncation`, `deferred` itself — are not counted. Omit to return every resolved article.
maxCharactersPerSectionNoBudget for a single top-level section, in characters, counting the section text plus its subsections. Combine with `maxCharacters` to cap both one section and the article; the tighter of the two wins. Applies to `source=pmc` results only.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
noticeNoOptional guidance for a partial or empty body. A `sections`-filter miss names the requested terms and affected article id(s) and suggests retrying without `sections` or using broader headings. A metadata-only record names the id(s) the chain could retrieve as front matter only and points at `pubmed_fetch_articles` for the abstract. A table returned with no cell values names the affected table(s), the article each came from, and why the cells cannot be recovered. A budgeted response names the characters returned versus carried and points at `truncation`. A response-wide budget that deferred articles names the ids to re-request. Identifiers past the per-call limit are named with the field to resend each under. Absent when none of those applies.
articlesNoFull-text articles in routing order — `pmcids`, then `pmids`, then `dois`, request order within each — each at the position of the id it would be deferred under, whichever tier served it. An article several ids name appears once.
deferredNoContinuation state for articles the whole-response budget withheld. Present only when `maxResponseCharacters` deferred at least one article.
overLimitNoIdentifiers the call named past the per-call fetch limit, returned unfetched for a follow-up call. Present only when the call named more than `limit` distinct identifiers. Separate from `deferred`, which lists articles that were fetched but withheld by `maxResponseCharacters`.
truncatedNoTrue when a character budget shortened at least one returned body or withheld a whole article, or when the call named more distinct identifiers than one call fetches. Absent when every requested identifier was fetched and every resolved article is present with its full post-filter body. The per-article body accounting is in `truncation`; the withheld ids are in `deferred`; the unfetched ids are in `overLimit`.
truncationNoCharacter accounting for full text the budget shortened. Present only when a budget actually removed characters — its absence means every returned article carries its full post-filter body.
unavailableNoPer-identifier explanations for any requested PMIDs, PMCIDs, or DOIs with no returnable full text. `idType` names the field each id was sent in. Distinct from `deferred`: nothing here is retrievable by re-calling, and an id never appears in both. Ids past the per-call limit are listed in `overLimit`, never here.
totalReturnedNoNumber of articles in this response. Under a `maxResponseCharacters` budget this counts the kept articles only; `deferred.deferredCount` covers the rest.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed32 schema fields changedv2.10.22
    • changedInput schema / properties / dois / description
      Previous value: -"DOIs to resolve (e.g. [\"10.21203/rs.3.rs-9010375/v1\"]), one per element. Combinable with `pmcids` and `pmids` — at most 10 distinct identifiers across the three. Resolved to a PMCID via the PMC ID Converter and returned as structured JATS when the article is in PMC; DOIs with no PMC counterpart (preprints, EPMC-only OA) fall through to Europe PMC, then Unpaywall, when those layers are enabled."New value: +"DOIs to resolve (e.g. [\"10.21203/rs.3.rs-9010375/v1\"]), one per element. Combinable with `pmcids` and `pmids` — up to 50 distinct identifiers across the three; the first 10 are fetched per call, the rest returned in `overLimit`. Resolved to a PMCID via the PMC ID Converter and returned as structured JATS when the article is in PMC; DOIs with no PMC counterpart (preprints, EPMC-only OA) fall through to Europe PMC, then Unpaywall, when those layers are enabled."
    • changedInput schema / properties / dois / maxItems
      Previous value: -10New value: +50
    • changedInput schema / properties / maxCharacters / description
      Previous value: -"Per-article budget for body text, in characters. Counts `source=pmc` section and subsection text — which carries the inline blocks the parser renders in place, such as lists, definition lists, block quotes, boxed text, preformatted blocks and displayed formulae — plus table label, caption, cell and footnote text and asset label, caption and `href` text; or the `source=unpaywall` `content` body. Titles, abstracts, identifiers, and references are never counted or shortened. Shortened text ends at the last word boundary inside its allowance, so it can come back a few characters under it. The counted unit is that text alone — the Markdown grid `content[]` renders around the cells (pipes, padding, the divider row, headings) is scaffolding this budget does not measure, so a table renders longer than it costs here. Sections are served first, then tables, then assets, each spending what is left, in document order — admission stops at the first entry that does not fit, and every entry from there on is dropped whole rather than cut mid-row or returned with a shortened caption, counted in `truncation.omittedTables` / `truncation.omittedAssets` and named in `truncation.articles[].omittedTableNames` / `omittedAssetNames`. Applied after `sections`, `maxSections`, `includeReferences`, `includeTables`, and `includeAssets`, so semantic filtering is unaffected. This knob alone bounds only bodies: the response-wide ceiling it implies is this value times the number of articles returned, plus every uncounted field. Use `maxResponseCharacters` for a true whole-response ceiling. Omit for the full body."New value: +"Per-article budget for body text, in characters. Counts `source=pmc` section and subsection text — which carries the inline blocks the parser renders in place, such as lists, definition lists, block quotes, boxed text, preformatted blocks and displayed formulae — plus table label, caption, cell and footnote text and asset label, caption and `href` text; or the `source=unpaywall` `content` body. Titles, abstracts, identifiers, and references are never counted or shortened. Shortened text ends at the last word boundary inside its allowance, so it can come back a few characters under it. The counted unit is that text alone — the Markdown grid `content[]` renders around the cells (pipes, padding, the divider row, headings) is scaffolding this budget does not measure, so a table renders longer than it costs here. Body sections are served first, then tables, then assets, then back-matter sections, each spending what is left, in document order. For tables and assets, admission stops at the first entry that does not fit, and every entry from there on is dropped whole rather than cut mid-row or returned with a shortened caption, counted in `truncation.omittedTables` / `truncation.omittedAssets` and named in `truncation.articles[].omittedTableNames` / `omittedAssetNames`. Back matter takes only what remains and is shortened or dropped as body sections are; `sections` still returns it after the body. Applied after `sections`, `maxSections`, `includeReferences`, `includeTables`, and `includeAssets`, so semantic filtering is unaffected. This knob alone bounds only bodies: the response-wide ceiling it implies is this value times the number of articles returned, plus every uncounted field. Use `maxResponseCharacters` for a true whole-response ceiling. Omit for the full body."
    • changedInput schema / properties / maxCharacters / maximum
      Previous value: -1000000New value: +9007199254740991
    • changedInput schema / properties / maxCharactersPerSection / description
      Previous value: -"Budget for a single top-level body section, in characters, counting the section text plus its subsections. Combine with `maxCharacters` to cap both one section and the article; the tighter of the two wins. Applies to `source=pmc` results only."New value: +"Budget for a single top-level section, in characters, counting the section text plus its subsections. Combine with `maxCharacters` to cap both one section and the article; the tighter of the two wins. Applies to `source=pmc` results only."
    • changedInput schema / properties / maxCharactersPerSection / maximum
      Previous value: -1000000New value: +9007199254740991
    • changedInput schema / properties / maxResponseCharacters / description
      Previous value: -"Opt-in ceiling for the whole response, in characters — the true response-wide counterpart to the per-article `maxCharacters`. Each article is measured as the JSON record it is returned as, after every filter and the per-article body budget: title, abstract, body sections, references, identifiers, license and source metadata — every field it carries. One ledger covers all tiers, so PMC-, Europe PMC-, and Unpaywall-served articles spend the same budget. Articles are kept in response order until the next one would cross the ceiling; that article and the rest are deferred whole (never partially populated) and listed in `deferred.ids`. Response envelope fields — counts, `unavailable`, `truncation`, `deferred` itself — are not counted. Omit to return every resolved article."New value: +"Opt-in ceiling for the whole response, in characters — the true response-wide counterpart to the per-article `maxCharacters`. Each article is measured as the JSON record it is returned as, after every filter and the per-article body budget: title, abstract, sections, references, identifiers, license and source metadata — every field it carries. One ledger covers all tiers, so PMC-, Europe PMC-, and Unpaywall-served articles spend the same budget. Articles are kept in the order `articles` lists them until the next one would cross the ceiling; that article and the rest are deferred whole (never partially populated) and listed in `deferred.ids`. Response envelope fields — counts, `unavailable`, `truncation`, `deferred` itself — are not counted. Omit to return every resolved article."
    • changedInput schema / properties / maxResponseCharacters / maximum
      Previous value: -1000000New value: +9007199254740991
    • changedInput schema / properties / maxSections / description
      Previous value: -"Maximum top-level body sections. Applies to `source=pmc` results only."New value: +"Maximum top-level sections. Back-matter sections count and follow the body, so a cap drops them first. Applies to `source=pmc` results only."
    • changedInput schema / properties / maxSections / maximum
      Previous value: -50New value: +9007199254740991
    • changedInput schema / properties / overflowMode / description
      Previous value: -"How to spend `maxCharacters` across an article that exceeds it. truncate: fill sections in document order, so early sections stay whole, the section the budget runs out in is cut, and every section or subsection past that point is dropped (counted in `truncation.omittedSections`). outline: split the budget evenly so every section and subsection keeps its heading, and an excerpt as far as the budget reaches — a heading the budget left empty is marked as such in the rendered text. Use it to survey what an article contains before requesting specific `sections`. Ignored when no budget is set, and identical for `source=unpaywall` bodies, which have no headings to preserve."New value: +"How to spend `maxCharacters` across an article that exceeds it. truncate: fill sections in document order, so early sections stay whole, the section the budget runs out in is cut, and every section or subsection past that point is dropped (counted in `truncation.omittedSections`). outline: split the budget evenly so every section and subsection keeps its heading, and an excerpt as far as the budget reaches — a heading the budget left empty is marked as such in the rendered text. In both modes the body sections spend the budget first and back-matter sections share what the body, tables, and assets leave. Use it to survey what an article contains before requesting specific `sections`. Ignored when no budget is set, and identical for `source=unpaywall` bodies, which have no headings to preserve."
    • changedInput schema / properties / pmcids / description
      Previous value: -"PMC IDs to fetch (e.g. [\"PMC9575052\"]). Combinable with `pmids` and `dois` — at most 10 distinct identifiers across the three. PMC IDs with no retrievable full text fall through to Europe PMC, then to Unpaywall on the DOI the chain resolves for them."New value: +"PMC IDs to fetch (e.g. [\"PMC9575052\"]). Combinable with `pmids` and `dois` — up to 50 distinct identifiers across the three; the first 10 are fetched per call, the rest returned in `overLimit`. PMC IDs with no retrievable full text fall through to Europe PMC, then to Unpaywall on the DOI the chain resolves for them."
    • changedInput schema / properties / pmcids / maxItems
      Previous value: -10New value: +50
    • changedInput schema / properties / pmids / description
      Previous value: -"PubMed IDs. Combinable with `pmcids` and `dois` — at most 10 distinct identifiers across the three. Articles in PMC are returned as structured JATS; articles not in PMC fall through to Europe PMC (when EPMC has a `fullTextXML`), then to Unpaywall when `UNPAYWALL_EMAIL` is set and a DOI is available."New value: +"PubMed IDs. Combinable with `pmcids` and `dois` — up to 50 distinct identifiers across the three; the first 10 are fetched per call, the rest returned in `overLimit`. Articles in PMC are returned as structured JATS; articles not in PMC fall through to Europe PMC (when EPMC has a `fullTextXML`), then to Unpaywall when `UNPAYWALL_EMAIL` is set and a DOI is available."
    • changedInput schema / properties / pmids / maxItems
      Previous value: -10New value: +50
    • changedInput schema / properties / sections / description
      Previous value: -"Filter to specific sections by title (e.g. [\"Introduction\", \"Methods\", \"Results\", \"Discussion\"]). A term matches a section or subsection title at any nesting depth, case-insensitively, as a substring — \"resul\" matches \"Results\". A section whose own title matches is returned whole; one kept only because a nested subsection matched keeps its heading as a breadcrumb, with its own text cleared and only the matching branch beneath it. Tables and assets narrow with the filter: one whose section did not survive, or that names no section, is dropped. Empty strings are skipped, so `[\"\"]` applies no filter; an element of only whitespace or invisible characters, such as a zero-width space, is rejected. Applies to `source=pmc` results only."New value: +"Filter to specific sections by title (e.g. [\"Introduction\", \"Methods\", \"Results\", \"Discussion\"]). A term matches a section or subsection title at any nesting depth, case-insensitively, as a substring — \"resul\" matches \"Results\". Back-matter sections match the same way: by their own titles, or by their kind when they carry neither a title nor a label — \"appendix\" matches a section titled \"Appendix A\", \"footnotes\" an untitled footnote group. A label is never matched, so an appendix labelled \"Appendix A\" under a title of its own matches only on that title. A section whose own title matches is returned whole; one kept only because a nested subsection matched keeps its heading as a breadcrumb, with its own text cleared and only the matching branch beneath it. Tables and assets narrow with the filter: one whose section did not survive, or that names no section, is dropped. Empty strings are skipped, so `[\"\"]` applies no filter; an element of only whitespace or invisible characters, such as a zero-width space, is rejected. Applies to `source=pmc` results only."
    • changedOutput schema / properties / articles / description
      Previous value: -"Full-text articles"New value: +"Full-text articles in routing order — `pmcids`, then `pmids`, then `dois`, request order within each — each at the position of the id it would be deferred under, whichever tier served it. An article several ids name appears once."
    • changedOutput schema / properties / articles / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "Structured JATS full-text article. `viaSource` records whether the JATS came from NCBI PMC or Europe PMC.",
      -    "properties": {
      -      "abstract": {
      -        "description": "Abstract",
      -        "type": "string"
      -      },
      -      "affiliations": {
      -        "description": "Author affiliations",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "articleType": {
      -        "description": "Article type",
      -        "type": "string"
      -      },
      -      "assets": {
      -        "description": "Every `<fig>` and `<supplementary-material>` the article carries, in document order — from the body and from `<floats-group>`, `<back>` and appendices alike. Each one lifted from the body leaves a `[Figure: <label>]` or `[Supplementary: <label>]` marker at its position in the section text, so reading order survives the lift. Absent when the article deposits none, when `includeAssets` is false, or when a `sections` filter left none standing.",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "One figure or supplementary-material item, with its caption, pointer, and section",
      -          "properties": {
      -            "assetType": {
      -              "description": "Which captioned element this came from — `figure` for a `<fig>`, `supplementary-material` for a `<supplementary-material>` deposit",
      -              "enum": [
      -                "figure",
      -                "supplementary-material"
      -              ],
      -              "type": "string"
      -            },
      -            "caption": {
      -              "description": "Caption text, with the label excluded",
      -              "type": "string"
      -            },
      -            "href": {
      -              "description": "The `<graphic>`/`<media>` `@xlink:href` exactly as deposited — a pointer into the PMC deposit (`MOL2-20-1253-g001.jpg`), not a fetchable URL. No absolute form of it resolves; read the rendered article at `pmcUrl` instead. Absent when the deposit names no file.",
      -              "type": "string"
      -            },
      -            "id": {
      -              "description": "JATS `id` attribute — the target body-text cross-references point at",
      -              "type": "string"
      -            },
      -            "label": {
      -              "description": "Display label as printed, e.g. `Fig. 1`",
      -              "type": "string"
      -            },
      -            "sectionTitle": {
      -              "description": "Title of the innermost section enclosing the asset, wherever that section sits — body, `<back>` matter, or an appendix all count. Absent for an asset inside no section at all, such as a `<floats-group>` deposit.",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "assetType"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "authors": {
      -        "description": "Authors",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Author entry",
      -          "properties": {
      -            "collectiveName": {
      -              "description": "Group name",
      -              "type": "string"
      -            },
      -            "givenNames": {
      -              "description": "Given names",
      -              "type": "string"
      -            },
      -            "lastName": {
      -              "description": "Last name",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "doi": {
      -        "description": "DOI, cased as the tier that served this record reports it (NCBI PMC, Europe PMC, or Unpaywall). DOIs are case-insensitive by spec and no case normalization is applied here, so casing can differ between tiers and from other tools — compare case-insensitively.",
      -        "type": "string"
      -      },
      -      "epmcId": {
      -        "description": "Europe PMC record id — present when `viaSource` is `europepmc`",
      -        "type": "string"
      -      },
      -      "epmcSource": {
      -        "description": "Europe PMC source code when `viaSource` is `europepmc`. Common values: `MED` (PubMed-derived), `PMC` (PMC counterpart), `PPR` (preprint), `PAT` (patent), `AGR` (Agricola), plus less common codes (`CTX`, `CBA`, `ETH`, `HIR`). Treat as opaque — EPMC may introduce new codes.",
      -        "type": "string"
      -      },
      -      "journal": {
      -        "additionalProperties": false,
      -        "description": "Journal information",
      -        "properties": {
      -          "elocationId": {
      -            "description": "Electronic article locator from JATS `<elocation-id>` — the publisher-assigned article number (e.g. \"e20542\"). Journals that assign article numbers deposit no `<fpage>`, so this is the only locator on roughly half of PMC records. Never a substitute for `pages`; JATS carries no type attribute, so there is no counterpart to the `elocationIdType` that `pubmed_fetch_articles` reports.",
      -            "type": "string"
      -          },
      -          "issn": {
      -            "description": "ISSN",
      -            "type": "string"
      -          },
      -          "issue": {
      -            "description": "Issue number",
      -            "type": "string"
      -          },
      -          "pages": {
      -            "description": "Page range",
      -            "type": "string"
      -          },
      -          "title": {
      -            "description": "Journal title",
      -            "type": "string"
      -          },
      -          "volume": {
      -            "description": "Volume number",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "keywords": {
      -        "description": "Keywords",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "pmcId": {
      -        "description": "PMC ID — present for NCBI PMC records and Europe PMC entries that have a PMC counterpart. Absent for EPMC-only records like preprints; use `epmcId` in that case.",
      -        "type": "string"
      -      },
      -      "pmcUrl": {
      -        "description": "PMC URL — derived from `pmcId` when present",
      -        "type": "string"
      -      },
      -      "pmid": {
      -        "description": "PubMed ID",
      -        "type": "string"
      -      },
      -      "publicationDate": {
      -        "additionalProperties": false,
      -        "description": "Publication date",
      -        "properties": {
      -          "day": {
      -            "description": "Publication day",
      -            "type": "string"
      -          },
      -          "month": {
      -            "description": "Publication month",
      -            "type": "string"
      -          },
      -          "year": {
      -            "description": "Publication year",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "pubmedUrl": {
      -        "description": "PubMed URL",
      -        "type": "string"
      -      },
      -      "references": {
      -        "description": "Reference list",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Reference entry",
      -          "properties": {
      -            "citation": {
      -              "description": "Citation text",
      -              "type": "string"
      -            },
      -            "id": {
      -              "description": "Reference ID",
      -              "type": "string"
      -            },
      -            "label": {
      -              "description": "Reference label",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "citation"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "sections": {
      -        "description": "Article body sections",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Article body section",
      -          "properties": {
      -            "label": {
      -              "description": "Section label",
      -              "type": "string"
      -            },
      -            "subsections": {
      -              "description": "Nested subsections",
      -              "items": {
      -                "additionalProperties": false,
      -                "description": "Article subsection",
      -                "properties": {
      -                  "label": {
      -                    "description": "Subsection label",
      -                    "type": "string"
      -                  },
      -                  "text": {
      -                    "description": "Subsection body text. Sections nested deeper than this level are folded in here in document order, each heading rendered on its own line above its text.",
      -                    "type": "string"
      -                  },
      -                  "title": {
      -                    "description": "Subsection heading",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "text"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "text": {
      -              "description": "Section body text",
      -              "type": "string"
      -            },
      -            "title": {
      -              "description": "Section heading",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "text"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "source": {
      -        "const": "pmc",
      -        "description": "Structured JATS — same DTD whether sourced from NCBI PMC or Europe PMC",
      -        "type": "string"
      -      },
      -      "tables": {
      -        "description": "Every `<table-wrap>` the article carries, in document order — from the body and from `<floats-group>`, `<back>` and appendices alike. Absent when the article deposits none, when `includeTables` is false, or when a `sections` filter left none standing.",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "One table from the article, with its cells, caption, and owning section",
      -          "properties": {
      -            "caption": {
      -              "description": "Caption text, with the label excluded",
      -              "type": "string"
      -            },
      -            "footnotes": {
      -              "description": "`<table-wrap-foot>` text, one line per footnote or paragraph, joined by `\\n`. A footnote marker deposited as a `<label>` leads its line, followed by a space (`* No patient …`).",
      -              "type": "string"
      -            },
      -            "headerRowCount": {
      -              "description": "How many leading `rows` entries are header rows — a `<thead>` block, or leading rows made entirely of `<th>`. 0 when the table declares none. Several header rows stack: read one column top to bottom for its full header path.",
      -              "type": "number"
      -            },
      -            "id": {
      -              "description": "JATS `id` attribute — the target body-text cross-references point at",
      -              "type": "string"
      -            },
      -            "label": {
      -              "description": "Table label as printed, e.g. `TABLE 1`",
      -              "type": "string"
      -            },
      -            "rows": {
      -              "description": "Cell text by row, in document order, one entry per grid column. `colspan` and `rowspan` are expanded, so a cell covering several columns or rows repeats its text across each cell it covers and a well-formed table is rectangular — align on position from the left, and read a repeated value as one spanning cell rather than several measurements. A line break in a cell — a `<break/>`, a paragraph, or a list item in the source — is kept as `\\n`, so `1.08\\n2.44` is two values; superscripts and other inline markup are never spaced (`0.108a`). Empty when `unextractableReason` is set.",
      -              "items": {
      -                "description": "One row, as cell text by grid column",
      -                "items": {
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              "type": "array"
      -            },
      -            "sectionTitle": {
      -              "description": "Title of the innermost section enclosing the table, wherever that section sits — body, `<back>` matter, or an appendix all count, and in back matter the section name is the only positional cue there is. Absent only for a table inside no section at all, such as a `<floats-group>` deposit.",
      -              "type": "string"
      -            },
      -            "unextractableReason": {
      -              "description": "Why `rows` is empty — set only then. graphic-only: the table was deposited as an image with no underlying markup. cals-tgroup: the table uses the CALS `<tgroup>` model, which this server does not extract (0 of 283 tables in an open-access survey used it). no-rows: the markup carried no rows. The label and caption are still returned, so a table that could not be read is visible rather than silently missing.",
      -              "enum": [
      -                "cals-tgroup",
      -                "graphic-only",
      -                "no-rows"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "headerRowCount",
      -            "rows"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "title": {
      -        "description": "Article title",
      -        "type": "string"
      -      },
      -      "viaSource": {
      -        "description": "Which layer produced the JATS: `pmc` for NCBI PMC EFetch (db=pmc), `europepmc` for Europe PMC `fullTextXML`. Both paths return the same JATS shape; the discriminator records origin for observability and license attribution.",
      -        "enum": [
      -          "pmc",
      -          "europepmc"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "viaSource",
      -      "sections"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "Best-effort full text from an open-access copy",
      -    "properties": {
      -      "content": {
      -        "description": "Full article text — Markdown or plain text per `contentFormat`",
      -        "type": "string"
      -      },
      -      "contentFormat": {
      -        "description": "How `content` was extracted. html-markdown: Defuddle extracted Markdown from an HTML landing page; light section structure may survive but is not guaranteed. pdf-text: unpdf extracted plain text from a PDF; no section, reference, or heading structure.",
      -        "enum": [
      -          "html-markdown",
      -          "pdf-text"
      -        ],
      -        "type": "string"
      -      },
      -      "doi": {
      -        "description": "DOI used to locate the open-access copy",
      -        "type": "string"
      -      },
      -      "hostType": {
      -        "description": "`publisher` or `repository` — where the OA copy is hosted",
      -        "type": "string"
      -      },
      -      "journalName": {
      -        "description": "Journal or repository name from Unpaywall's record for the DOI (e.g. `medRxiv` for a medRxiv preprint). Absent when Unpaywall has none.",
      -        "type": "string"
      -      },
      -      "license": {
      -        "description": "License identifier from Unpaywall (e.g. cc-by, cc0)",
      -        "type": "string"
      -      },
      -      "pmcId": {
      -        "description": "PMC ID this article was requested under, in `PMC<digits>` form — present when a `pmcids` entry named it, absent when it was requested under a PMID or DOI. When several identifiers name one article, it is requested under the first to reach it: `pmcids`, then `pmids`, then `dois`. Ties the article back to the requested identifier, which `unavailable[]` keys on for the ids that found nothing.",
      -        "type": "string"
      -      },
      -      "pmid": {
      -        "description": "PubMed ID this article was requested under — present when it was requested under a `pmids` entry, absent when under a PMC ID or DOI (see `pmcId` for which identifier an article several of them name is requested under)",
      -        "type": "string"
      -      },
      -      "pubmedUrl": {
      -        "description": "PubMed URL — present when `pmid` is set",
      -        "type": "string"
      -      },
      -      "source": {
      -        "const": "unpaywall",
      -        "description": "Content fetched from an open-access copy indexed by Unpaywall. Best-effort — structural fidelity depends on `contentFormat`.",
      -        "type": "string"
      -      },
      -      "sourceUrl": {
      -        "description": "URL the content was fetched from",
      -        "type": "string"
      -      },
      -      "title": {
      -        "description": "Article title, from the first source that carries one: Unpaywall's record for the DOI, then the Europe PMC record when the chain searched Europe PMC for this id, then — for `html-markdown` content only — the title detected on the page. Absent when none of them has a title.",
      -        "type": "string"
      -      },
      -      "totalPages": {
      -        "description": "Page count reported by the PDF extractor; absent for HTML",
      -        "type": "number"
      -      },
      -      "version": {
      -        "description": "OA version: submittedVersion | acceptedVersion | publishedVersion",
      -        "type": "string"
      -      },
      -      "viaSource": {
      -        "const": "unpaywall",
      -        "description": "Layer that produced this article. Constant `unpaywall` for this branch.",
      -        "type": "string"
      -      },
      -      "wordCount": {
      -        "description": "Approximate word count reported by the HTML extractor; absent for PDFs",
      -        "type": "number"
      -      },
      -      "year": {
      -        "description": "Publication year from Unpaywall's record for the DOI. Absent when Unpaywall has none.",
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "viaSource",
      -      "contentFormat",
      -      "doi",
      -      "sourceUrl",
      -      "content"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "Structured JATS full-text article. `viaSource` records whether the JATS came from NCBI PMC or Europe PMC.",
      +    "properties": {
      +      "abstract": {
      +        "description": "Abstract",
      +        "type": "string"
      +      },
      +      "affiliations": {
      +        "description": "Author affiliations",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "articleType": {
      +        "description": "Article type",
      +        "type": "string"
      +      },
      +      "assets": {
      +        "description": "Every `<fig>` and `<supplementary-material>` the article carries, in document order — from the body and from `<floats-group>`, `<back>` and appendices alike. Each one lifted from a section, body or back matter, leaves a `[Figure: <label>]` or `[Supplementary: <label>]` marker at its position in the section text, so reading order survives the lift. Absent when the article deposits none, when `includeAssets` is false, or when a `sections` filter left none standing.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "One figure or supplementary-material item, with its caption, pointer, and section",
      +          "properties": {
      +            "assetType": {
      +              "description": "Which captioned element this came from — `figure` for a `<fig>`, `supplementary-material` for a `<supplementary-material>` deposit",
      +              "enum": [
      +                "figure",
      +                "supplementary-material"
      +              ],
      +              "type": "string"
      +            },
      +            "caption": {
      +              "description": "Caption text, with the label excluded",
      +              "type": "string"
      +            },
      +            "href": {
      +              "description": "The `<graphic>`/`<media>` `@xlink:href` exactly as deposited — a pointer into the PMC deposit (`MOL2-20-1253-g001.jpg`), not a fetchable URL. No absolute form of it resolves; read the rendered article at `pmcUrl` instead. Absent when the deposit names no file.",
      +              "type": "string"
      +            },
      +            "id": {
      +              "description": "JATS `id` attribute — the target body-text cross-references point at",
      +              "type": "string"
      +            },
      +            "label": {
      +              "description": "Display label as printed, e.g. `Fig. 1`, less one trailing ` |`, `.` or `:` (`Figure 1.` reads `Figure 1`). Some supplements carry a bare number (`1`), kept as deposited here",
      +              "type": "string"
      +            },
      +            "sectionTitle": {
      +              "description": "Title of the innermost titled section enclosing the asset — a body section or a back-matter one such as an appendix — as that section is titled in `sections`, or, for a heading nested deeper than `sections` carries, as its heading line inside the text of the section that contains it. Absent for an asset inside no titled section, such as a `<floats-group>` deposit.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "assetType"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "authors": {
      +        "description": "Authors",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Author entry",
      +          "properties": {
      +            "collectiveName": {
      +              "description": "Group name",
      +              "type": "string"
      +            },
      +            "givenNames": {
      +              "description": "Given names",
      +              "type": "string"
      +            },
      +            "lastName": {
      +              "description": "Last name",
      +              "type": "string"
      +            },
      +            "suffix": {
      +              "description": "Generational name suffix verbatim from the JATS `<suffix>` (e.g. \"Jr\", \"IV\"), never normalized. Absent when the deposit gives none.",
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "doi": {
      +        "description": "DOI, cased as the tier that served this record reports it (NCBI PMC, Europe PMC, or Unpaywall). DOIs are case-insensitive by spec and no case normalization is applied here, so casing can differ between tiers and from other tools — compare case-insensitively.",
      +        "type": "string"
      +      },
      +      "epmcId": {
      +        "description": "Europe PMC record id — present when `viaSource` is `europepmc`",
      +        "type": "string"
      +      },
      +      "epmcSource": {
      +        "description": "Europe PMC source code when `viaSource` is `europepmc`. Common values: `MED` (PubMed-derived), `PMC` (PMC counterpart), `PPR` (preprint), `PAT` (patent), `AGR` (Agricola), plus less common codes (`CTX`, `CBA`, `ETH`, `HIR`). Treat as opaque — EPMC may introduce new codes.",
      +        "type": "string"
      +      },
      +      "journal": {
      +        "additionalProperties": false,
      +        "description": "Journal information",
      +        "properties": {
      +          "elocationId": {
      +            "description": "Electronic article locator from JATS `<elocation-id>` — the publisher-assigned article number (e.g. \"e20542\"). Journals that assign article numbers deposit no `<fpage>`, so this is the only locator on roughly half of PMC records. Never a substitute for `pages`; JATS carries no type attribute, so there is no counterpart to the `elocationIdType` that `pubmed_fetch_articles` reports.",
      +            "type": "string"
      +          },
      +          "issn": {
      +            "description": "ISSN",
      +            "type": "string"
      +          },
      +          "issue": {
      +            "description": "Issue number",
      +            "type": "string"
      +          },
      +          "pages": {
      +            "description": "Page range",
      +            "type": "string"
      +          },
      +          "title": {
      +            "description": "Journal title",
      +            "type": "string"
      +          },
      +          "volume": {
      +            "description": "Volume number",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "keywords": {
      +        "description": "Keywords",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "pmcId": {
      +        "description": "PMC ID — present for NCBI PMC records and Europe PMC entries that have a PMC counterpart. Absent for EPMC-only records like preprints; use `epmcId` in that case.",
      +        "type": "string"
      +      },
      +      "pmcUrl": {
      +        "description": "PMC URL — derived from `pmcId` when present",
      +        "type": "string"
      +      },
      +      "pmid": {
      +        "description": "PubMed ID",
      +        "type": "string"
      +      },
      +      "publicationDate": {
      +        "additionalProperties": false,
      +        "description": "Publication date",
      +        "properties": {
      +          "day": {
      +            "description": "Publication day",
      +            "type": "string"
      +          },
      +          "month": {
      +            "description": "Publication month",
      +            "type": "string"
      +          },
      +          "year": {
      +            "description": "Publication year",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "pubmedUrl": {
      +        "description": "PubMed URL",
      +        "type": "string"
      +      },
      +      "references": {
      +        "description": "Reference list",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Reference entry",
      +          "properties": {
      +            "citation": {
      +              "description": "Citation text",
      +              "type": "string"
      +            },
      +            "id": {
      +              "description": "Reference ID",
      +              "type": "string"
      +            },
      +            "label": {
      +              "description": "Reference label",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "citation"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "sections": {
      +        "description": "Article sections in source order: the body, then the back matter — acknowledgments, notes and declarations, footnotes, glossary, appendices. A back-matter element with no heading of its own is titled by its kind, such as `Footnotes` or `Appendix`.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Article section, from the body or from the back matter after it",
      +          "properties": {
      +            "label": {
      +              "description": "Section label",
      +              "type": "string"
      +            },
      +            "subsections": {
      +              "description": "Nested subsections",
      +              "items": {
      +                "additionalProperties": false,
      +                "description": "Article subsection",
      +                "properties": {
      +                  "label": {
      +                    "description": "Subsection label",
      +                    "type": "string"
      +                  },
      +                  "text": {
      +                    "description": "Subsection body text. Sections nested deeper than this level are folded in here in document order, each heading rendered on its own line above its text.",
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "description": "Subsection heading",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "text"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "text": {
      +              "description": "Section body text",
      +              "type": "string"
      +            },
      +            "title": {
      +              "description": "Section heading",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "text"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "source": {
      +        "const": "pmc",
      +        "description": "Structured JATS — same DTD whether sourced from NCBI PMC or Europe PMC",
      +        "type": "string"
      +      },
      +      "tables": {
      +        "description": "Every `<table-wrap>` the article carries, in document order — from the body and from `<floats-group>`, `<back>` and appendices alike. Absent when the article deposits none, when `includeTables` is false, or when a `sections` filter left none standing.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "One table from the article, with its cells, caption, and owning section",
      +          "properties": {
      +            "caption": {
      +              "description": "Caption text, with the label excluded",
      +              "type": "string"
      +            },
      +            "footnotes": {
      +              "description": "`<table-wrap-foot>` text, one line per footnote or paragraph, joined by `\\n`. A footnote marker deposited as a `<label>` leads its line, followed by a space (`* No patient …`).",
      +              "type": "string"
      +            },
      +            "headerRowCount": {
      +              "description": "How many leading `rows` entries are header rows — a `<thead>` block, or leading rows made entirely of `<th>`. 0 when the table declares none. Several header rows stack: read one column top to bottom for its full header path.",
      +              "type": "number"
      +            },
      +            "id": {
      +              "description": "JATS `id` attribute — the target body-text cross-references point at",
      +              "type": "string"
      +            },
      +            "label": {
      +              "description": "Table label as printed, e.g. `TABLE 1`, less one trailing ` |`, `.` or `:` (`Table 1.` reads `Table 1`)",
      +              "type": "string"
      +            },
      +            "rows": {
      +              "description": "Cell text by row, in document order, one entry per grid column. `colspan` and `rowspan` are expanded, so a cell covering several columns or rows repeats its text across each cell it covers and a well-formed table is rectangular — align on position from the left, and read a repeated value as one spanning cell rather than several measurements. A line break in a cell — a `<break/>`, a paragraph, or a list item in the source — is kept as `\\n`, so `1.08\\n2.44` is two values; superscripts and other inline markup are never spaced (`0.108a`). Empty when `unextractableReason` is set.",
      +              "items": {
      +                "description": "One row, as cell text by grid column",
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "type": "array"
      +            },
      +            "sectionTitle": {
      +              "description": "Title of the innermost titled section enclosing the table — a body section or a back-matter one such as an appendix — as that section is titled in `sections`, or, for a heading nested deeper than `sections` carries, as its heading line inside the text of the section that contains it. A `sections` filter keeps the table with that section. In back matter the section name is the only positional cue there is. Absent for a table inside no titled section, such as a `<floats-group>` deposit.",
      +              "type": "string"
      +            },
      +            "unextractableReason": {
      +              "description": "Why `rows` is empty — set only then. graphic-only: the table was deposited as an image with no underlying markup. cals-tgroup: the table uses the CALS `<tgroup>` model, which this server does not extract (0 of 283 tables in an open-access survey used it). no-rows: the markup carried no rows. The label and caption are still returned, so a table that could not be read is visible rather than silently missing.",
      +              "enum": [
      +                "cals-tgroup",
      +                "graphic-only",
      +                "no-rows"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "headerRowCount",
      +            "rows"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "title": {
      +        "description": "Article title",
      +        "type": "string"
      +      },
      +      "viaSource": {
      +        "description": "Which layer produced the JATS: `pmc` for NCBI PMC EFetch (db=pmc), `europepmc` for Europe PMC `fullTextXML`. Both paths return the same JATS shape; the discriminator records origin for observability and license attribution.",
      +        "enum": [
      +          "pmc",
      +          "europepmc"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "viaSource",
      +      "sections"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "Best-effort full text from an open-access copy",
      +    "properties": {
      +      "content": {
      +        "description": "Full article text — Markdown or plain text per `contentFormat`",
      +        "type": "string"
      +      },
      +      "contentFormat": {
      +        "description": "How `content` was extracted. html-markdown: Defuddle extracted Markdown from an HTML landing page; light section structure may survive but is not guaranteed. pdf-text: unpdf extracted plain text from a PDF; no section, reference, or heading structure.",
      +        "enum": [
      +          "html-markdown",
      +          "pdf-text"
      +        ],
      +        "type": "string"
      +      },
      +      "doi": {
      +        "description": "DOI used to locate the open-access copy",
      +        "type": "string"
      +      },
      +      "hostType": {
      +        "description": "`publisher` or `repository` — where the OA copy is hosted",
      +        "type": "string"
      +      },
      +      "journalName": {
      +        "description": "Journal or repository name from Unpaywall's record for the DOI (e.g. `medRxiv` for a medRxiv preprint). Absent when Unpaywall has none.",
      +        "type": "string"
      +      },
      +      "license": {
      +        "description": "License identifier from Unpaywall (e.g. cc-by, cc0)",
      +        "type": "string"
      +      },
      +      "pmcId": {
      +        "description": "PMC ID this article was requested under, in `PMC<digits>` form — present when a `pmcids` entry named it, absent when it was requested under a PMID or DOI. When several identifiers name one article, it is requested under the first to reach it: `pmcids`, then `pmids`, then `dois`. Ties the article back to the requested identifier, which `unavailable[]` keys on for the ids that found nothing.",
      +        "type": "string"
      +      },
      +      "pmid": {
      +        "description": "PubMed ID this article was requested under — present when it was requested under a `pmids` entry, absent when under a PMC ID or DOI (see `pmcId` for which identifier an article several of them name is requested under)",
      +        "type": "string"
      +      },
      +      "pubmedUrl": {
      +        "description": "PubMed URL — present when `pmid` is set",
      +        "type": "string"
      +      },
      +      "source": {
      +        "const": "unpaywall",
      +        "description": "Content fetched from an open-access copy indexed by Unpaywall. Best-effort — structural fidelity depends on `contentFormat`.",
      +        "type": "string"
      +      },
      +      "sourceUrl": {
      +        "description": "URL the content was fetched from",
      +        "type": "string"
      +      },
      +      "title": {
      +        "description": "Article title, from the first source that carries one: Unpaywall's record for the DOI, then the Europe PMC record when the chain searched Europe PMC for this id, then — for `html-markdown` content only — the title detected on the page. Absent when none of them has a title.",
      +        "type": "string"
      +      },
      +      "totalPages": {
      +        "description": "Page count reported by the PDF extractor; absent for HTML",
      +        "type": "number"
      +      },
      +      "version": {
      +        "description": "OA version: submittedVersion | acceptedVersion | publishedVersion",
      +        "type": "string"
      +      },
      +      "viaSource": {
      +        "const": "unpaywall",
      +        "description": "Layer that produced this article. Constant `unpaywall` for this branch.",
      +        "type": "string"
      +      },
      +      "wordCount": {
      +        "description": "Approximate word count reported by the HTML extractor; absent for PDFs",
      +        "type": "number"
      +      },
      +      "year": {
      +        "description": "Publication year from Unpaywall's record for the DOI. Absent when Unpaywall has none.",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "viaSource",
      +      "contentFormat",
      +      "doi",
      +      "sourceUrl",
      +      "content"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / properties / deferred / properties / dois / description
      Previous value: -"The deferred ids sent as DOIs, in response order — re-submit them as `dois`. Present only when the deferred ids came from more than one field (so `idType` is absent) and one of them was a DOI."New value: +"The deferred ids sent as DOIs, in routing order — re-submit them as `dois`. Present only when the deferred ids came from more than one field (so `idType` is absent) and one of them was a DOI."
    • changedOutput schema / properties / deferred / properties / ids / description
      Previous value: -"Identifiers of the deferred articles, in response order, keyed as they were requested (PMC IDs in `PMC<digits>` form). Re-call `pubmed_fetch_fulltext` with these under the `idType` field — or, when `idType` is absent, with the `pmcids` / `pmids` / `dois` lists below — and the same other inputs. Never contains an id from `unavailable`."New value: +"Identifiers of the deferred articles, in routing order — `pmcids`, then `pmids`, then `dois`, request order within each — keyed as they were requested (PMC IDs in `PMC<digits>` form). Re-call `pubmed_fetch_fulltext` with these under the `idType` field — or, when `idType` is absent, with the `pmcids` / `pmids` / `dois` lists below — and the same other inputs. Never contains an id from `unavailable`."
    • changedOutput schema / properties / deferred / properties / nextDeferredCharacters / description
      Previous value: -"Serialized size of the next deferred article — the first entry in `ids`, where the response stopped. Raise `maxResponseCharacters` to at least this to make progress; a smaller article further down `ids` cannot be reached until this one fits."New value: +"Serialized size of the next deferred article — the first entry in `ids`, where the response stopped — and the continuation ceiling: re-calling with the deferred ids needs `maxResponseCharacters` ≥ this to return anything, and a smaller article further down `ids` cannot be reached until this one fits. Repeating this same call needs `maxResponseCharacters` ≥ `returnedCharacters` + this to return this article as well."
    • changedOutput schema / properties / deferred / properties / pmcids / description
      Previous value: -"The deferred ids sent as PMC IDs, in response order — re-submit them as `pmcids`. Present only when the deferred ids came from more than one field (so `idType` is absent) and one of them was a PMC ID."New value: +"The deferred ids sent as PMC IDs, in routing order — re-submit them as `pmcids`. Present only when the deferred ids came from more than one field (so `idType` is absent) and one of them was a PMC ID."
    • changedOutput schema / properties / deferred / properties / pmids / description
      Previous value: -"The deferred ids sent as PMIDs, in response order — re-submit them as `pmids`. Present only when the deferred ids came from more than one field (so `idType` is absent) and one of them was a PMID."New value: +"The deferred ids sent as PMIDs, in routing order — re-submit them as `pmids`. Present only when the deferred ids came from more than one field (so `idType` is absent) and one of them was a PMID."
    • changedOutput schema / properties / notice / description
      Previous value: -"Optional guidance for a partial or empty body. A `sections`-filter miss names the requested terms and affected article id(s) and suggests retrying without `sections` or using broader headings. A metadata-only record names the id(s) the chain could retrieve as front matter only and points at `pubmed_fetch_articles` for the abstract. A table returned with no cell values names the affected table(s), the article each came from, and why the cells cannot be recovered. A budgeted response names the characters returned versus carried and points at `truncation`. A response-wide budget that deferred articles names the ids to re-request. Absent when none of those applies."New value: +"Optional guidance for a partial or empty body. A `sections`-filter miss names the requested terms and affected article id(s) and suggests retrying without `sections` or using broader headings. A metadata-only record names the id(s) the chain could retrieve as front matter only and points at `pubmed_fetch_articles` for the abstract. A table returned with no cell values names the affected table(s), the article each came from, and why the cells cannot be recovered. A budgeted response names the characters returned versus carried and points at `truncation`. A response-wide budget that deferred articles names the ids to re-request. Identifiers past the per-call limit are named with the field to resend each under. Absent when none of those applies."
    • addedOutput schema / properties / overLimit
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Identifiers the call named past the per-call fetch limit, returned unfetched for a follow-up call. Present only when the call named more than `limit` distinct identifiers. Separate from `deferred`, which lists articles that were fetched but withheld by `maxResponseCharacters`.",
      +  "properties": {
      +    "dois": {
      +      "description": "The over-limit ids sent as DOIs, in routing order — re-submit them as `dois`. Present only when the over-limit ids came from more than one field (so `idType` is absent) and one of them was a DOI.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "idType": {
      +      "description": "The input field every over-limit id was sent in — re-submit them as `pmids`, `pmcids`, or `dois` respectively. Absent when the over-limit ids came from more than one field; `pmcids` / `pmids` / `dois` then group them.",
      +      "enum": [
      +        "pmid",
      +        "pmcid",
      +        "doi"
      +      ],
      +      "type": "string"
      +    },
      +    "ids": {
      +      "description": "Identifiers past the per-call limit, none of them fetched, in routing order — each listed once, under the first spelling sent (PMC IDs in `PMC<digits>` form). Re-call `pubmed_fetch_fulltext` with these under the `idType` field — or, when `idType` is absent, with the `pmcids` / `pmids` / `dois` lists below — and the same other inputs, at most `limit` per call. Never contains an id from `unavailable` or `deferred`.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "limit": {
      +      "description": "Distinct identifiers one call fetches. The first this many, in routing order — `pmcids`, then `pmids`, then `dois`, request order within each — were fetched; the ids below were not.",
      +      "type": "number"
      +    },
      +    "pmcids": {
      +      "description": "The over-limit ids sent as PMC IDs, in routing order — re-submit them as `pmcids`. Present only when the over-limit ids came from more than one field (so `idType` is absent) and one of them was a PMC ID.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "pmids": {
      +      "description": "The over-limit ids sent as PMIDs, in routing order — re-submit them as `pmids`. Present only when the over-limit ids came from more than one field (so `idType` is absent) and one of them was a PMID.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "limit",
      +    "ids"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / truncated / description
      Previous value: -"True when a character budget shortened at least one returned body, or withheld a whole article. Absent when every resolved article is present with its full post-filter body. The per-article body accounting is in `truncation`; the withheld ids are in `deferred`."New value: +"True when a character budget shortened at least one returned body or withheld a whole article, or when the call named more distinct identifiers than one call fetches. Absent when every requested identifier was fetched and every resolved article is present with its full post-filter body. The per-article body accounting is in `truncation`; the withheld ids are in `deferred`; the unfetched ids are in `overLimit`."
    • changedOutput schema / properties / truncation / properties / articles / items / properties / omittedAssetNames / description
      Previous value: -"The dropped assets by name, in document order — each asset's label, else its `id`, else `asset <n>` for its position in the article. Contiguous for the same reason `omittedTableNames` is: admission stops at the first asset that did not fit rather than skipping ahead to a smaller one. Absent when none were dropped."New value: +"The dropped assets by name, in document order — each asset's label (a bare-number label led by its type, `Supplementary material 1`), else its `id`, else `asset <n>` for its position in the article. Contiguous for the same reason `omittedTableNames` is: admission stops at the first asset that did not fit rather than skipping ahead to a smaller one. Absent when none were dropped."
    • changedOutput schema / properties / truncation / properties / articles / items / properties / omittedAssets / description
      Previous value: -"Figures and supplementary items this article dropped whole because the budget left no room once sections and tables were served. An asset is never returned with a truncated caption, so it is either returned complete or counted here. Absent when none were dropped."New value: +"Figures and supplementary items this article dropped whole because the budget left no room once body sections and tables were served. An asset is never returned with a truncated caption, so it is either returned complete or counted here. Absent when none were dropped."
    • changedOutput schema / properties / truncation / properties / articles / items / properties / sections / items / description
      Previous value: -"Character accounting for one body section of a budgeted article"New value: +"Character accounting for one section of a budgeted article"
    • changedOutput schema / properties / truncation / properties / articles / items / properties / source / description
      Previous value: -"Which output shape was budgeted: `pmc` budgets body sections and subsections, `unpaywall` budgets the single `content` body"New value: +"Which output shape was budgeted: `pmc` budgets sections and subsections, `unpaywall` budgets the single `content` body"
    • changedOutput schema / properties / truncation / properties / omittedSections / description
      Previous value: -"Body sections and subsections dropped entirely because an article budget was exhausted before reaching them. A dropped section counts once, together with its subsections. Always 0 in `outline` mode, which keeps every heading."New value: +"Sections and subsections, back matter included, dropped entirely because an article budget was exhausted before reaching them. Back matter is reached last, after tables and assets. A dropped section counts once, together with its subsections. Always 0 in `outline` mode, which keeps every heading."
    • changedOutput schema / properties / unavailable / description
      Previous value: -"Per-identifier explanations for any requested PMIDs, PMCIDs, or DOIs with no returnable full text. `idType` names the field each id was sent in. Distinct from `deferred`: nothing here is retrievable by re-calling, and an id never appears in both."New value: +"Per-identifier explanations for any requested PMIDs, PMCIDs, or DOIs with no returnable full text. `idType` names the field each id was sent in. Distinct from `deferred`: nothing here is retrievable by re-calling, and an id never appears in both. Ids past the per-call limit are listed in `overLimit`, never here."
  2. Changed15 schema fields changedv2.10.20
    • changedInput schema / properties / dois / description
      Previous value: -"DOIs to resolve (e.g. [\"10.21203/rs.3.rs-9010375/v1\"]), one per element. Provide exactly one of `pmcids`, `pmids`, or `dois`. Resolved to a PMCID via the PMC ID Converter and returned as structured JATS when the article is in PMC; DOIs with no PMC counterpart (preprints, EPMC-only OA) fall through to Europe PMC, then Unpaywall, when those layers are enabled."New value: +"DOIs to resolve (e.g. [\"10.21203/rs.3.rs-9010375/v1\"]), one per element. Combinable with `pmcids` and `pmids` — at most 10 distinct identifiers across the three. Resolved to a PMCID via the PMC ID Converter and returned as structured JATS when the article is in PMC; DOIs with no PMC counterpart (preprints, EPMC-only OA) fall through to Europe PMC, then Unpaywall, when those layers are enabled."
    • changedInput schema / properties / pmcids / description
      Previous value: -"PMC IDs to fetch (e.g. [\"PMC9575052\"]). Provide exactly one of `pmcids`, `pmids`, or `dois`. PMC IDs with no retrievable full text fall through to Europe PMC, then to Unpaywall on the DOI the chain resolves for them."New value: +"PMC IDs to fetch (e.g. [\"PMC9575052\"]). Combinable with `pmids` and `dois` — at most 10 distinct identifiers across the three. PMC IDs with no retrievable full text fall through to Europe PMC, then to Unpaywall on the DOI the chain resolves for them."
    • changedInput schema / properties / pmids / description
      Previous value: -"PubMed IDs. Provide exactly one of `pmcids`, `pmids`, or `dois`. Articles in PMC are returned as structured JATS; articles not in PMC fall through to Europe PMC (when EPMC has a `fullTextXML`), then to Unpaywall when `UNPAYWALL_EMAIL` is set and a DOI is available."New value: +"PubMed IDs. Combinable with `pmcids` and `dois` — at most 10 distinct identifiers across the three. Articles in PMC are returned as structured JATS; articles not in PMC fall through to Europe PMC (when EPMC has a `fullTextXML`), then to Unpaywall when `UNPAYWALL_EMAIL` is set and a DOI is available."
    • changedInput schema / properties / sections / description
      Previous value: -"Filter to specific sections by title (e.g. [\"Introduction\", \"Methods\", \"Results\", \"Discussion\"]). A term matches a section or subsection title at any nesting depth, case-insensitively, as a substring — \"resul\" matches \"Results\". A section whose own title matches is returned whole; one kept only because a nested subsection matched keeps its heading as a breadcrumb, with its own text cleared and only the matching branch beneath it. Tables and assets narrow with the filter: one whose section did not survive, or that names no section, is dropped. Applies to `source=pmc` results only."New value: +"Filter to specific sections by title (e.g. [\"Introduction\", \"Methods\", \"Results\", \"Discussion\"]). A term matches a section or subsection title at any nesting depth, case-insensitively, as a substring — \"resul\" matches \"Results\". A section whose own title matches is returned whole; one kept only because a nested subsection matched keeps its heading as a breadcrumb, with its own text cleared and only the matching branch beneath it. Tables and assets narrow with the filter: one whose section did not survive, or that names no section, is dropped. Empty strings are skipped, so `[\"\"]` applies no filter; an element of only whitespace or invisible characters, such as a zero-width space, is rejected. Applies to `source=pmc` results only."
    • changedOutput schema / properties / articles / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "Structured JATS full-text article. `viaSource` records whether the JATS came from NCBI PMC or Europe PMC.",
      -    "properties": {
      -      "abstract": {
      -        "description": "Abstract",
      -        "type": "string"
      -      },
      -      "affiliations": {
      -        "description": "Author affiliations",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "articleType": {
      -        "description": "Article type",
      -        "type": "string"
      -      },
      -      "assets": {
      -        "description": "Every `<fig>` and `<supplementary-material>` the article carries, in document order — from the body and from `<floats-group>`, `<back>` and appendices alike. Each one lifted from the body leaves a `[Figure: <label>]` or `[Supplementary: <label>]` marker at its position in the section text, so reading order survives the lift. Absent when the article deposits none, when `includeAssets` is false, or when a `sections` filter left none standing.",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "One figure or supplementary-material item, with its caption, pointer, and section",
      -          "properties": {
      -            "assetType": {
      -              "description": "Which captioned element this came from — `figure` for a `<fig>`, `supplementary-material` for a `<supplementary-material>` deposit",
      -              "enum": [
      -                "figure",
      -                "supplementary-material"
      -              ],
      -              "type": "string"
      -            },
      -            "caption": {
      -              "description": "Caption text, with the label excluded",
      -              "type": "string"
      -            },
      -            "href": {
      -              "description": "The `<graphic>`/`<media>` `@xlink:href` exactly as deposited — a pointer into the PMC deposit (`MOL2-20-1253-g001.jpg`), not a fetchable URL. No absolute form of it resolves; read the rendered article at `pmcUrl` instead. Absent when the deposit names no file.",
      -              "type": "string"
      -            },
      -            "id": {
      -              "description": "JATS `id` attribute — the target body-text cross-references point at",
      -              "type": "string"
      -            },
      -            "label": {
      -              "description": "Display label as printed, e.g. `Fig. 1`",
      -              "type": "string"
      -            },
      -            "sectionTitle": {
      -              "description": "Title of the innermost section enclosing the asset, wherever that section sits — body, `<back>` matter, or an appendix all count. Absent for an asset inside no section at all, such as a `<floats-group>` deposit.",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "assetType"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "authors": {
      -        "description": "Authors",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Author entry",
      -          "properties": {
      -            "collectiveName": {
      -              "description": "Group name",
      -              "type": "string"
      -            },
      -            "givenNames": {
      -              "description": "Given names",
      -              "type": "string"
      -            },
      -            "lastName": {
      -              "description": "Last name",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "doi": {
      -        "description": "DOI, cased as the tier that served this record reports it (NCBI PMC, Europe PMC, or Unpaywall). DOIs are case-insensitive by spec and no case normalization is applied here, so casing can differ between tiers and from other tools — compare case-insensitively.",
      -        "type": "string"
      -      },
      -      "epmcId": {
      -        "description": "Europe PMC record id — present when `viaSource` is `europepmc`",
      -        "type": "string"
      -      },
      -      "epmcSource": {
      -        "description": "Europe PMC source code when `viaSource` is `europepmc`. Common values: `MED` (PubMed-derived), `PMC` (PMC counterpart), `PPR` (preprint), `PAT` (patent), `AGR` (Agricola), plus less common codes (`CTX`, `CBA`, `ETH`, `HIR`). Treat as opaque — EPMC may introduce new codes.",
      -        "type": "string"
      -      },
      -      "journal": {
      -        "additionalProperties": false,
      -        "description": "Journal information",
      -        "properties": {
      -          "elocationId": {
      -            "description": "Electronic article locator from JATS `<elocation-id>` — the publisher-assigned article number (e.g. \"e20542\"). Journals that assign article numbers deposit no `<fpage>`, so this is the only locator on roughly half of PMC records. Never a substitute for `pages`; JATS carries no type attribute, so there is no counterpart to the `elocationIdType` that `pubmed_fetch_articles` reports.",
      -            "type": "string"
      -          },
      -          "issn": {
      -            "description": "ISSN",
      -            "type": "string"
      -          },
      -          "issue": {
      -            "description": "Issue number",
      -            "type": "string"
      -          },
      -          "pages": {
      -            "description": "Page range",
      -            "type": "string"
      -          },
      -          "title": {
      -            "description": "Journal title",
      -            "type": "string"
      -          },
      -          "volume": {
      -            "description": "Volume number",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "keywords": {
      -        "description": "Keywords",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "pmcId": {
      -        "description": "PMC ID — present for NCBI PMC records and Europe PMC entries that have a PMC counterpart. Absent for EPMC-only records like preprints; use `epmcId` in that case.",
      -        "type": "string"
      -      },
      -      "pmcUrl": {
      -        "description": "PMC URL — derived from `pmcId` when present",
      -        "type": "string"
      -      },
      -      "pmid": {
      -        "description": "PubMed ID",
      -        "type": "string"
      -      },
      -      "publicationDate": {
      -        "additionalProperties": false,
      -        "description": "Publication date",
      -        "properties": {
      -          "day": {
      -            "description": "Publication day",
      -            "type": "string"
      -          },
      -          "month": {
      -            "description": "Publication month",
      -            "type": "string"
      -          },
      -          "year": {
      -            "description": "Publication year",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "pubmedUrl": {
      -        "description": "PubMed URL",
      -        "type": "string"
      -      },
      -      "references": {
      -        "description": "Reference list",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Reference entry",
      -          "properties": {
      -            "citation": {
      -              "description": "Citation text",
      -              "type": "string"
      -            },
      -            "id": {
      -              "description": "Reference ID",
      -              "type": "string"
      -            },
      -            "label": {
      -              "description": "Reference label",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "citation"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "sections": {
      -        "description": "Article body sections",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Article body section",
      -          "properties": {
      -            "label": {
      -              "description": "Section label",
      -              "type": "string"
      -            },
      -            "subsections": {
      -              "description": "Nested subsections",
      -              "items": {
      -                "additionalProperties": false,
      -                "description": "Article subsection",
      -                "properties": {
      -                  "label": {
      -                    "description": "Subsection label",
      -                    "type": "string"
      -                  },
      -                  "text": {
      -                    "description": "Subsection body text. Sections nested deeper than this level are folded in here in document order, each heading rendered on its own line above its text.",
      -                    "type": "string"
      -                  },
      -                  "title": {
      -                    "description": "Subsection heading",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "text"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "text": {
      -              "description": "Section body text",
      -              "type": "string"
      -            },
      -            "title": {
      -              "description": "Section heading",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "text"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "source": {
      -        "const": "pmc",
      -        "description": "Structured JATS — same DTD whether sourced from NCBI PMC or Europe PMC",
      -        "type": "string"
      -      },
      -      "tables": {
      -        "description": "Every `<table-wrap>` the article carries, in document order — from the body and from `<floats-group>`, `<back>` and appendices alike. Absent when the article deposits none, when `includeTables` is false, or when a `sections` filter left none standing.",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "One table from the article, with its cells, caption, and owning section",
      -          "properties": {
      -            "caption": {
      -              "description": "Caption text, with the label excluded",
      -              "type": "string"
      -            },
      -            "footnotes": {
      -              "description": "`<table-wrap-foot>` text, flattened to one string",
      -              "type": "string"
      -            },
      -            "headerRowCount": {
      -              "description": "How many leading `rows` entries are header rows — a `<thead>` block, or leading rows made entirely of `<th>`. 0 when the table declares none. Several header rows stack: read one column top to bottom for its full header path.",
      -              "type": "number"
      -            },
      -            "id": {
      -              "description": "JATS `id` attribute — the target body-text cross-references point at",
      -              "type": "string"
      -            },
      -            "label": {
      -              "description": "Table label as printed, e.g. `TABLE 1`",
      -              "type": "string"
      -            },
      -            "rows": {
      -              "description": "Cell text by row, in document order, one entry per grid column. `colspan` and `rowspan` are expanded, so a cell covering several columns or rows repeats its text across each cell it covers and a well-formed table is rectangular — align on position from the left, and read a repeated value as one spanning cell rather than several measurements. Empty when `unextractableReason` is set.",
      -              "items": {
      -                "description": "One row, as cell text by grid column",
      -                "items": {
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              "type": "array"
      -            },
      -            "sectionTitle": {
      -              "description": "Title of the innermost section enclosing the table, wherever that section sits — body, `<back>` matter, or an appendix all count, and in back matter the section name is the only positional cue there is. Absent only for a table inside no section at all, such as a `<floats-group>` deposit.",
      -              "type": "string"
      -            },
      -            "unextractableReason": {
      -              "description": "Why `rows` is empty — set only then. graphic-only: the table was deposited as an image with no underlying markup. cals-tgroup: the table uses the CALS `<tgroup>` model, which this server does not extract (0 of 283 tables in an open-access survey used it). no-rows: the markup carried no rows. The label and caption are still returned, so a table that could not be read is visible rather than silently missing.",
      -              "enum": [
      -                "cals-tgroup",
      -                "graphic-only",
      -                "no-rows"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "headerRowCount",
      -            "rows"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "title": {
      -        "description": "Article title",
      -        "type": "string"
      -      },
      -      "viaSource": {
      -        "description": "Which layer produced the JATS: `pmc` for NCBI PMC EFetch (db=pmc), `europepmc` for Europe PMC `fullTextXML`. Both paths return the same JATS shape; the discriminator records origin for observability and license attribution.",
      -        "enum": [
      -          "pmc",
      -          "europepmc"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "viaSource",
      -      "sections"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "Best-effort full text from an open-access copy",
      -    "properties": {
      -      "content": {
      -        "description": "Full article text — Markdown or plain text per `contentFormat`",
      -        "type": "string"
      -      },
      -      "contentFormat": {
      -        "description": "How `content` was extracted. html-markdown: Defuddle extracted Markdown from an HTML landing page; light section structure may survive but is not guaranteed. pdf-text: unpdf extracted plain text from a PDF; no section, reference, or heading structure.",
      -        "enum": [
      -          "html-markdown",
      -          "pdf-text"
      -        ],
      -        "type": "string"
      -      },
      -      "doi": {
      -        "description": "DOI used to locate the open-access copy",
      -        "type": "string"
      -      },
      -      "hostType": {
      -        "description": "`publisher` or `repository` — where the OA copy is hosted",
      -        "type": "string"
      -      },
      -      "journalName": {
      -        "description": "Journal or repository name from Unpaywall's record for the DOI (e.g. `medRxiv` for a medRxiv preprint). Absent when Unpaywall has none.",
      -        "type": "string"
      -      },
      -      "license": {
      -        "description": "License identifier from Unpaywall (e.g. cc-by, cc0)",
      -        "type": "string"
      -      },
      -      "pmcId": {
      -        "description": "PMC ID this article was requested under, in `PMC<digits>` form — present for `pmcids` input, absent for `pmids` and `dois` input. Ties the article back to the requested identifier, which `unavailable[]` keys on for the ids that found nothing.",
      -        "type": "string"
      -      },
      -      "pmid": {
      -        "description": "PubMed ID when input was `pmids`; absent for `pmcids` and `dois` input",
      -        "type": "string"
      -      },
      -      "pubmedUrl": {
      -        "description": "PubMed URL — present when `pmid` is set",
      -        "type": "string"
      -      },
      -      "source": {
      -        "const": "unpaywall",
      -        "description": "Content fetched from an open-access copy indexed by Unpaywall. Best-effort — structural fidelity depends on `contentFormat`.",
      -        "type": "string"
      -      },
      -      "sourceUrl": {
      -        "description": "URL the content was fetched from",
      -        "type": "string"
      -      },
      -      "title": {
      -        "description": "Article title, from the first source that carries one: Unpaywall's record for the DOI, then the Europe PMC record when the chain searched Europe PMC for this id, then — for `html-markdown` content only — the title detected on the page. Absent when none of them has a title.",
      -        "type": "string"
      -      },
      -      "totalPages": {
      -        "description": "Page count reported by the PDF extractor; absent for HTML",
      -        "type": "number"
      -      },
      -      "version": {
      -        "description": "OA version: submittedVersion | acceptedVersion | publishedVersion",
      -        "type": "string"
      -      },
      -      "viaSource": {
      -        "const": "unpaywall",
      -        "description": "Layer that produced this article. Constant `unpaywall` for this branch.",
      -        "type": "string"
      -      },
      -      "wordCount": {
      -        "description": "Approximate word count reported by the HTML extractor; absent for PDFs",
      -        "type": "number"
      -      },
      -      "year": {
      -        "description": "Publication year from Unpaywall's record for the DOI. Absent when Unpaywall has none.",
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "viaSource",
      -      "contentFormat",
      -      "doi",
      -      "sourceUrl",
      -      "content"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "Structured JATS full-text article. `viaSource` records whether the JATS came from NCBI PMC or Europe PMC.",
      +    "properties": {
      +      "abstract": {
      +        "description": "Abstract",
      +        "type": "string"
      +      },
      +      "affiliations": {
      +        "description": "Author affiliations",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "articleType": {
      +        "description": "Article type",
      +        "type": "string"
      +      },
      +      "assets": {
      +        "description": "Every `<fig>` and `<supplementary-material>` the article carries, in document order — from the body and from `<floats-group>`, `<back>` and appendices alike. Each one lifted from the body leaves a `[Figure: <label>]` or `[Supplementary: <label>]` marker at its position in the section text, so reading order survives the lift. Absent when the article deposits none, when `includeAssets` is false, or when a `sections` filter left none standing.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "One figure or supplementary-material item, with its caption, pointer, and section",
      +          "properties": {
      +            "assetType": {
      +              "description": "Which captioned element this came from — `figure` for a `<fig>`, `supplementary-material` for a `<supplementary-material>` deposit",
      +              "enum": [
      +                "figure",
      +                "supplementary-material"
      +              ],
      +              "type": "string"
      +            },
      +            "caption": {
      +              "description": "Caption text, with the label excluded",
      +              "type": "string"
      +            },
      +            "href": {
      +              "description": "The `<graphic>`/`<media>` `@xlink:href` exactly as deposited — a pointer into the PMC deposit (`MOL2-20-1253-g001.jpg`), not a fetchable URL. No absolute form of it resolves; read the rendered article at `pmcUrl` instead. Absent when the deposit names no file.",
      +              "type": "string"
      +            },
      +            "id": {
      +              "description": "JATS `id` attribute — the target body-text cross-references point at",
      +              "type": "string"
      +            },
      +            "label": {
      +              "description": "Display label as printed, e.g. `Fig. 1`",
      +              "type": "string"
      +            },
      +            "sectionTitle": {
      +              "description": "Title of the innermost section enclosing the asset, wherever that section sits — body, `<back>` matter, or an appendix all count. Absent for an asset inside no section at all, such as a `<floats-group>` deposit.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "assetType"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "authors": {
      +        "description": "Authors",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Author entry",
      +          "properties": {
      +            "collectiveName": {
      +              "description": "Group name",
      +              "type": "string"
      +            },
      +            "givenNames": {
      +              "description": "Given names",
      +              "type": "string"
      +            },
      +            "lastName": {
      +              "description": "Last name",
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "doi": {
      +        "description": "DOI, cased as the tier that served this record reports it (NCBI PMC, Europe PMC, or Unpaywall). DOIs are case-insensitive by spec and no case normalization is applied here, so casing can differ between tiers and from other tools — compare case-insensitively.",
      +        "type": "string"
      +      },
      +      "epmcId": {
      +        "description": "Europe PMC record id — present when `viaSource` is `europepmc`",
      +        "type": "string"
      +      },
      +      "epmcSource": {
      +        "description": "Europe PMC source code when `viaSource` is `europepmc`. Common values: `MED` (PubMed-derived), `PMC` (PMC counterpart), `PPR` (preprint), `PAT` (patent), `AGR` (Agricola), plus less common codes (`CTX`, `CBA`, `ETH`, `HIR`). Treat as opaque — EPMC may introduce new codes.",
      +        "type": "string"
      +      },
      +      "journal": {
      +        "additionalProperties": false,
      +        "description": "Journal information",
      +        "properties": {
      +          "elocationId": {
      +            "description": "Electronic article locator from JATS `<elocation-id>` — the publisher-assigned article number (e.g. \"e20542\"). Journals that assign article numbers deposit no `<fpage>`, so this is the only locator on roughly half of PMC records. Never a substitute for `pages`; JATS carries no type attribute, so there is no counterpart to the `elocationIdType` that `pubmed_fetch_articles` reports.",
      +            "type": "string"
      +          },
      +          "issn": {
      +            "description": "ISSN",
      +            "type": "string"
      +          },
      +          "issue": {
      +            "description": "Issue number",
      +            "type": "string"
      +          },
      +          "pages": {
      +            "description": "Page range",
      +            "type": "string"
      +          },
      +          "title": {
      +            "description": "Journal title",
      +            "type": "string"
      +          },
      +          "volume": {
      +            "description": "Volume number",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "keywords": {
      +        "description": "Keywords",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "pmcId": {
      +        "description": "PMC ID — present for NCBI PMC records and Europe PMC entries that have a PMC counterpart. Absent for EPMC-only records like preprints; use `epmcId` in that case.",
      +        "type": "string"
      +      },
      +      "pmcUrl": {
      +        "description": "PMC URL — derived from `pmcId` when present",
      +        "type": "string"
      +      },
      +      "pmid": {
      +        "description": "PubMed ID",
      +        "type": "string"
      +      },
      +      "publicationDate": {
      +        "additionalProperties": false,
      +        "description": "Publication date",
      +        "properties": {
      +          "day": {
      +            "description": "Publication day",
      +            "type": "string"
      +          },
      +          "month": {
      +            "description": "Publication month",
      +            "type": "string"
      +          },
      +          "year": {
      +            "description": "Publication year",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "pubmedUrl": {
      +        "description": "PubMed URL",
      +        "type": "string"
      +      },
      +      "references": {
      +        "description": "Reference list",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Reference entry",
      +          "properties": {
      +            "citation": {
      +              "description": "Citation text",
      +              "type": "string"
      +            },
      +            "id": {
      +              "description": "Reference ID",
      +              "type": "string"
      +            },
      +            "label": {
      +              "description": "Reference label",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "citation"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "sections": {
      +        "description": "Article body sections",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Article body section",
      +          "properties": {
      +            "label": {
      +              "description": "Section label",
      +              "type": "string"
      +            },
      +            "subsections": {
      +              "description": "Nested subsections",
      +              "items": {
      +                "additionalProperties": false,
      +                "description": "Article subsection",
      +                "properties": {
      +                  "label": {
      +                    "description": "Subsection label",
      +                    "type": "string"
      +                  },
      +                  "text": {
      +                    "description": "Subsection body text. Sections nested deeper than this level are folded in here in document order, each heading rendered on its own line above its text.",
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "description": "Subsection heading",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "text"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "text": {
      +              "description": "Section body text",
      +              "type": "string"
      +            },
      +            "title": {
      +              "description": "Section heading",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "text"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "source": {
      +        "const": "pmc",
      +        "description": "Structured JATS — same DTD whether sourced from NCBI PMC or Europe PMC",
      +        "type": "string"
      +      },
      +      "tables": {
      +        "description": "Every `<table-wrap>` the article carries, in document order — from the body and from `<floats-group>`, `<back>` and appendices alike. Absent when the article deposits none, when `includeTables` is false, or when a `sections` filter left none standing.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "One table from the article, with its cells, caption, and owning section",
      +          "properties": {
      +            "caption": {
      +              "description": "Caption text, with the label excluded",
      +              "type": "string"
      +            },
      +            "footnotes": {
      +              "description": "`<table-wrap-foot>` text, one line per footnote or paragraph, joined by `\\n`. A footnote marker deposited as a `<label>` leads its line, followed by a space (`* No patient …`).",
      +              "type": "string"
      +            },
      +            "headerRowCount": {
      +              "description": "How many leading `rows` entries are header rows — a `<thead>` block, or leading rows made entirely of `<th>`. 0 when the table declares none. Several header rows stack: read one column top to bottom for its full header path.",
      +              "type": "number"
      +            },
      +            "id": {
      +              "description": "JATS `id` attribute — the target body-text cross-references point at",
      +              "type": "string"
      +            },
      +            "label": {
      +              "description": "Table label as printed, e.g. `TABLE 1`",
      +              "type": "string"
      +            },
      +            "rows": {
      +              "description": "Cell text by row, in document order, one entry per grid column. `colspan` and `rowspan` are expanded, so a cell covering several columns or rows repeats its text across each cell it covers and a well-formed table is rectangular — align on position from the left, and read a repeated value as one spanning cell rather than several measurements. A line break in a cell — a `<break/>`, a paragraph, or a list item in the source — is kept as `\\n`, so `1.08\\n2.44` is two values; superscripts and other inline markup are never spaced (`0.108a`). Empty when `unextractableReason` is set.",
      +              "items": {
      +                "description": "One row, as cell text by grid column",
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "type": "array"
      +            },
      +            "sectionTitle": {
      +              "description": "Title of the innermost section enclosing the table, wherever that section sits — body, `<back>` matter, or an appendix all count, and in back matter the section name is the only positional cue there is. Absent only for a table inside no section at all, such as a `<floats-group>` deposit.",
      +              "type": "string"
      +            },
      +            "unextractableReason": {
      +              "description": "Why `rows` is empty — set only then. graphic-only: the table was deposited as an image with no underlying markup. cals-tgroup: the table uses the CALS `<tgroup>` model, which this server does not extract (0 of 283 tables in an open-access survey used it). no-rows: the markup carried no rows. The label and caption are still returned, so a table that could not be read is visible rather than silently missing.",
      +              "enum": [
      +                "cals-tgroup",
      +                "graphic-only",
      +                "no-rows"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "headerRowCount",
      +            "rows"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "title": {
      +        "description": "Article title",
      +        "type": "string"
      +      },
      +      "viaSource": {
      +        "description": "Which layer produced the JATS: `pmc` for NCBI PMC EFetch (db=pmc), `europepmc` for Europe PMC `fullTextXML`. Both paths return the same JATS shape; the discriminator records origin for observability and license attribution.",
      +        "enum": [
      +          "pmc",
      +          "europepmc"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "viaSource",
      +      "sections"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "Best-effort full text from an open-access copy",
      +    "properties": {
      +      "content": {
      +        "description": "Full article text — Markdown or plain text per `contentFormat`",
      +        "type": "string"
      +      },
      +      "contentFormat": {
      +        "description": "How `content` was extracted. html-markdown: Defuddle extracted Markdown from an HTML landing page; light section structure may survive but is not guaranteed. pdf-text: unpdf extracted plain text from a PDF; no section, reference, or heading structure.",
      +        "enum": [
      +          "html-markdown",
      +          "pdf-text"
      +        ],
      +        "type": "string"
      +      },
      +      "doi": {
      +        "description": "DOI used to locate the open-access copy",
      +        "type": "string"
      +      },
      +      "hostType": {
      +        "description": "`publisher` or `repository` — where the OA copy is hosted",
      +        "type": "string"
      +      },
      +      "journalName": {
      +        "description": "Journal or repository name from Unpaywall's record for the DOI (e.g. `medRxiv` for a medRxiv preprint). Absent when Unpaywall has none.",
      +        "type": "string"
      +      },
      +      "license": {
      +        "description": "License identifier from Unpaywall (e.g. cc-by, cc0)",
      +        "type": "string"
      +      },
      +      "pmcId": {
      +        "description": "PMC ID this article was requested under, in `PMC<digits>` form — present when a `pmcids` entry named it, absent when it was requested under a PMID or DOI. When several identifiers name one article, it is requested under the first to reach it: `pmcids`, then `pmids`, then `dois`. Ties the article back to the requested identifier, which `unavailable[]` keys on for the ids that found nothing.",
      +        "type": "string"
      +      },
      +      "pmid": {
      +        "description": "PubMed ID this article was requested under — present when it was requested under a `pmids` entry, absent when under a PMC ID or DOI (see `pmcId` for which identifier an article several of them name is requested under)",
      +        "type": "string"
      +      },
      +      "pubmedUrl": {
      +        "description": "PubMed URL — present when `pmid` is set",
      +        "type": "string"
      +      },
      +      "source": {
      +        "const": "unpaywall",
      +        "description": "Content fetched from an open-access copy indexed by Unpaywall. Best-effort — structural fidelity depends on `contentFormat`.",
      +        "type": "string"
      +      },
      +      "sourceUrl": {
      +        "description": "URL the content was fetched from",
      +        "type": "string"
      +      },
      +      "title": {
      +        "description": "Article title, from the first source that carries one: Unpaywall's record for the DOI, then the Europe PMC record when the chain searched Europe PMC for this id, then — for `html-markdown` content only — the title detected on the page. Absent when none of them has a title.",
      +        "type": "string"
      +      },
      +      "totalPages": {
      +        "description": "Page count reported by the PDF extractor; absent for HTML",
      +        "type": "number"
      +      },
      +      "version": {
      +        "description": "OA version: submittedVersion | acceptedVersion | publishedVersion",
      +        "type": "string"
      +      },
      +      "viaSource": {
      +        "const": "unpaywall",
      +        "description": "Layer that produced this article. Constant `unpaywall` for this branch.",
      +        "type": "string"
      +      },
      +      "wordCount": {
      +        "description": "Approximate word count reported by the HTML extractor; absent for PDFs",
      +        "type": "number"
      +      },
      +      "year": {
      +        "description": "Publication year from Unpaywall's record for the DOI. Absent when Unpaywall has none.",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "viaSource",
      +      "contentFormat",
      +      "doi",
      +      "sourceUrl",
      +      "content"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedOutput schema / properties / deferred / properties / dois
      Added value: +{
      +  "description": "The deferred ids sent as DOIs, in response order — re-submit them as `dois`. Present only when the deferred ids came from more than one field (so `idType` is absent) and one of them was a DOI.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / deferred / properties / idType / description
      Previous value: -"Which input branch the deferred ids belong to — re-submit them as `pmids`, `pmcids`, or `dois` respectively. Matches the `idType` on `unavailable` entries."New value: +"The input field every deferred id was sent in — re-submit them as `pmids`, `pmcids`, or `dois` respectively. Matches the `idType` on `unavailable` entries. Absent when the deferred ids came from more than one field; `pmcids` / `pmids` / `dois` then group them."
    • changedOutput schema / properties / deferred / properties / ids / description
      Previous value: -"Identifiers of the deferred articles, in response order, keyed as they were requested (PMC IDs in `PMC<digits>` form). Re-call `pubmed_fetch_fulltext` with these under the `idType` branch and the same other inputs. Never contains an id from `unavailable`."New value: +"Identifiers of the deferred articles, in response order, keyed as they were requested (PMC IDs in `PMC<digits>` form). Re-call `pubmed_fetch_fulltext` with these under the `idType` field — or, when `idType` is absent, with the `pmcids` / `pmids` / `dois` lists below — and the same other inputs. Never contains an id from `unavailable`."
    • addedOutput schema / properties / deferred / properties / pmcids
      Added value: +{
      +  "description": "The deferred ids sent as PMC IDs, in response order — re-submit them as `pmcids`. Present only when the deferred ids came from more than one field (so `idType` is absent) and one of them was a PMC ID.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / deferred / properties / pmids
      Added value: +{
      +  "description": "The deferred ids sent as PMIDs, in response order — re-submit them as `pmids`. Present only when the deferred ids came from more than one field (so `idType` is absent) and one of them was a PMID.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / deferred / required
      Previous value: -[
      -  "maxResponseCharacters",
      -  "returnedCharacters",
      -  "deferredCount",
      -  "idType",
      -  "ids",
      -  "nextDeferredCharacters"
      -]New value: +[
      +  "maxResponseCharacters",
      +  "returnedCharacters",
      +  "deferredCount",
      +  "ids",
      +  "nextDeferredCharacters"
      +]
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `queue_full`: The local NCBI request queue shed the call — the queue is full, or the call cannot start before its total deadline (for example behind the cooldown that follows an NCBI 429). `ncbi_unreachable`: NCBI E-utilities failed on every attempt the retry budget allowed — retries ran out, or the next backoff would overrun the total deadline. `ncbi_rate_limited`: NCBI answered HTTP 429 (too many requests) and the call stopped on it — retries ran out, the next backoff would overrun the total deadline, or the Retry-After NCBI named outlasts the time left or the 30-second backoff cap. `ncbi_deadline_exceeded`: The total NCBI request deadline expired before NCBI answered successfully — mid-request, while queued, or during a retry backoff. `ncbi_invalid_response`: NCBI returned a body that could not be parsed (invalid XML/JSON). `ncbi_resource_not_found`: NCBI returned a structured \"not found\" error for the requested ID(s). Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `queue_full`: The local NCBI request queue shed the call — the queue is full, or the call cannot start before its total deadline (for example behind the cooldown that follows an NCBI 429). `ncbi_unreachable`: NCBI E-utilities failed on every attempt the retry budget allowed — retries ran out, or the next backoff would overrun the total deadline. `ncbi_rate_limited`: NCBI answered HTTP 429 (too many requests) and the call stopped on it — retries ran out, the next backoff would overrun the total deadline, or the Retry-After NCBI named outlasts the time left or the 30-second backoff cap. `ncbi_deadline_exceeded`: The total NCBI request deadline expired before NCBI answered successfully — mid-request, while queued, or during a retry backoff. `ncbi_invalid_response`: NCBI returned a body that could not be parsed (invalid XML/JSON). `ncbi_resource_not_found`: NCBI returned a structured \"not found\" error for the requested ID(s). `blank_filter`: A `sections` element holds no visible character — only whitespace, or invisible characters such as a zero-width space — so it names no heading. An exactly-empty element is not blank here; it is skipped. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "queue_full",
      -  "ncbi_unreachable",
      -  "ncbi_rate_limited",
      -  "ncbi_deadline_exceeded",
      -  "ncbi_invalid_response",
      -  "ncbi_resource_not_found"
      -]New value: +[
      +  "queue_full",
      +  "ncbi_unreachable",
      +  "ncbi_rate_limited",
      +  "ncbi_deadline_exceeded",
      +  "ncbi_invalid_response",
      +  "ncbi_resource_not_found",
      +  "blank_filter"
      +]
    • changedOutput schema / properties / unavailable / description
      Previous value: -"Per-identifier explanations for any requested PMIDs, PMCIDs, or DOIs with no returnable full text. `idType` discriminates which branch the id came from. Distinct from `deferred`: nothing here is retrievable by re-calling, and an id never appears in both."New value: +"Per-identifier explanations for any requested PMIDs, PMCIDs, or DOIs with no returnable full text. `idType` names the field each id was sent in. Distinct from `deferred`: nothing here is retrievable by re-calling, and an id never appears in both."
    • changedOutput schema / properties / unavailable / items / properties / idType / description
      Previous value: -"Which input branch the id came from"New value: +"Which input field the id was sent in — `pmids`, `pmcids`, or `dois` respectively"
  3. Changed2 schema fields changedv2.10.19
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `queue_full`: The local NCBI request queue shed the call — the queue is full, or the call cannot start before its total deadline (for example behind the cooldown that follows an NCBI 429). `ncbi_unreachable`: NCBI E-utilities is unreachable after all retry attempts. `ncbi_deadline_exceeded`: Total request deadline expired before NCBI returned a response. `ncbi_invalid_response`: NCBI returned a body that could not be parsed (invalid XML/JSON). `ncbi_resource_not_found`: NCBI returned a structured \"not found\" error for the requested ID(s). Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `queue_full`: The local NCBI request queue shed the call — the queue is full, or the call cannot start before its total deadline (for example behind the cooldown that follows an NCBI 429). `ncbi_unreachable`: NCBI E-utilities failed on every attempt the retry budget allowed — retries ran out, or the next backoff would overrun the total deadline. `ncbi_rate_limited`: NCBI answered HTTP 429 (too many requests) and the call stopped on it — retries ran out, the next backoff would overrun the total deadline, or the Retry-After NCBI named outlasts the time left or the 30-second backoff cap. `ncbi_deadline_exceeded`: The total NCBI request deadline expired before NCBI answered successfully — mid-request, while queued, or during a retry backoff. `ncbi_invalid_response`: NCBI returned a body that could not be parsed (invalid XML/JSON). `ncbi_resource_not_found`: NCBI returned a structured \"not found\" error for the requested ID(s). Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "queue_full",
      -  "ncbi_unreachable",
      -  "ncbi_deadline_exceeded",
      -  "ncbi_invalid_response",
      -  "ncbi_resource_not_found"
      -]New value: +[
      +  "queue_full",
      +  "ncbi_unreachable",
      +  "ncbi_rate_limited",
      +  "ncbi_deadline_exceeded",
      +  "ncbi_invalid_response",
      +  "ncbi_resource_not_found"
      +]
  4. Changed10 schema fields changedv2.10.18
    • changedInput schema / properties / maxCharacters / description
      Previous value: -"Per-article budget for body text, in characters. Counts `source=pmc` section and subsection text — which carries the inline blocks the parser renders in place, such as lists, definition lists, block quotes, boxed text, preformatted blocks and displayed formulae — plus table label, caption, cell and footnote text and asset label, caption and `href` text; or the `source=unpaywall` `content` body. Titles, abstracts, identifiers, and references are never counted or shortened. The counted unit is that text alone — the Markdown grid `content[]` renders around the cells (pipes, padding, the divider row, headings) is scaffolding this budget does not measure, so a table renders longer than it costs here. Sections are served first, then tables, then assets, each spending what is left, in document order — admission stops at the first entry that does not fit, and every entry from there on is dropped whole rather than cut mid-row or returned with a shortened caption, counted in `truncation.omittedTables` / `truncation.omittedAssets` and named in `truncation.articles[].omittedTableNames` / `omittedAssetNames`. Applied after `sections`, `maxSections`, `includeReferences`, `includeTables`, and `includeAssets`, so semantic filtering is unaffected. This knob alone bounds only bodies: the response-wide ceiling it implies is this value times the number of articles returned, plus every uncounted field. Use `maxResponseCharacters` for a true whole-response ceiling. Omit for the full body."New value: +"Per-article budget for body text, in characters. Counts `source=pmc` section and subsection text — which carries the inline blocks the parser renders in place, such as lists, definition lists, block quotes, boxed text, preformatted blocks and displayed formulae — plus table label, caption, cell and footnote text and asset label, caption and `href` text; or the `source=unpaywall` `content` body. Titles, abstracts, identifiers, and references are never counted or shortened. Shortened text ends at the last word boundary inside its allowance, so it can come back a few characters under it. The counted unit is that text alone — the Markdown grid `content[]` renders around the cells (pipes, padding, the divider row, headings) is scaffolding this budget does not measure, so a table renders longer than it costs here. Sections are served first, then tables, then assets, each spending what is left, in document order — admission stops at the first entry that does not fit, and every entry from there on is dropped whole rather than cut mid-row or returned with a shortened caption, counted in `truncation.omittedTables` / `truncation.omittedAssets` and named in `truncation.articles[].omittedTableNames` / `omittedAssetNames`. Applied after `sections`, `maxSections`, `includeReferences`, `includeTables`, and `includeAssets`, so semantic filtering is unaffected. This knob alone bounds only bodies: the response-wide ceiling it implies is this value times the number of articles returned, plus every uncounted field. Use `maxResponseCharacters` for a true whole-response ceiling. Omit for the full body."
    • changedInput schema / properties / overflowMode / description
      Previous value: -"How to spend `maxCharacters` across an article that exceeds it. truncate: fill sections in document order, so early sections stay whole and sections past the budget are dropped (counted in `truncation.omittedSections`). outline: split the budget evenly so every section keeps its heading, and an excerpt as far as the budget reaches — use it to survey what an article contains before requesting specific `sections`. Ignored when no budget is set, and identical for `source=unpaywall` bodies, which have no headings to preserve."New value: +"How to spend `maxCharacters` across an article that exceeds it. truncate: fill sections in document order, so early sections stay whole, the section the budget runs out in is cut, and every section or subsection past that point is dropped (counted in `truncation.omittedSections`). outline: split the budget evenly so every section and subsection keeps its heading, and an excerpt as far as the budget reaches — a heading the budget left empty is marked as such in the rendered text. Use it to survey what an article contains before requesting specific `sections`. Ignored when no budget is set, and identical for `source=unpaywall` bodies, which have no headings to preserve."
    • changedOutput schema / properties / articles / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "Structured JATS full-text article. `viaSource` records whether the JATS came from NCBI PMC or Europe PMC.",
      -    "properties": {
      -      "abstract": {
      -        "description": "Abstract",
      -        "type": "string"
      -      },
      -      "affiliations": {
      -        "description": "Author affiliations",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "articleType": {
      -        "description": "Article type",
      -        "type": "string"
      -      },
      -      "assets": {
      -        "description": "Every `<fig>` and `<supplementary-material>` the article carries, in document order — from the body and from `<floats-group>`, `<back>` and appendices alike. Each one lifted from the body leaves a `[Figure: <label>]` or `[Supplementary: <label>]` marker at its position in the section text, so reading order survives the lift. Absent when the article deposits none, when `includeAssets` is false, or when a `sections` filter left none standing.",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "One figure or supplementary-material item, with its caption, pointer, and section",
      -          "properties": {
      -            "assetType": {
      -              "description": "Which captioned element this came from — `figure` for a `<fig>`, `supplementary-material` for a `<supplementary-material>` deposit",
      -              "enum": [
      -                "figure",
      -                "supplementary-material"
      -              ],
      -              "type": "string"
      -            },
      -            "caption": {
      -              "description": "Caption text, with the label excluded",
      -              "type": "string"
      -            },
      -            "href": {
      -              "description": "The `<graphic>`/`<media>` `@xlink:href` exactly as deposited — a pointer into the PMC deposit (`MOL2-20-1253-g001.jpg`), not a fetchable URL. No absolute form of it resolves; read the rendered article at `pmcUrl` instead. Absent when the deposit names no file.",
      -              "type": "string"
      -            },
      -            "id": {
      -              "description": "JATS `id` attribute — the target body-text cross-references point at",
      -              "type": "string"
      -            },
      -            "label": {
      -              "description": "Display label as printed, e.g. `Fig. 1`",
      -              "type": "string"
      -            },
      -            "sectionTitle": {
      -              "description": "Title of the innermost section enclosing the asset, wherever that section sits — body, `<back>` matter, or an appendix all count. Absent for an asset inside no section at all, such as a `<floats-group>` deposit.",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "assetType"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "authors": {
      -        "description": "Authors",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Author entry",
      -          "properties": {
      -            "collectiveName": {
      -              "description": "Group name",
      -              "type": "string"
      -            },
      -            "givenNames": {
      -              "description": "Given names",
      -              "type": "string"
      -            },
      -            "lastName": {
      -              "description": "Last name",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "doi": {
      -        "description": "DOI, cased as the tier that served this record reports it (NCBI PMC, Europe PMC, or Unpaywall). DOIs are case-insensitive by spec and no case normalization is applied here, so casing can differ between tiers and from other tools — compare case-insensitively.",
      -        "type": "string"
      -      },
      -      "epmcId": {
      -        "description": "Europe PMC record id — present when `viaSource` is `europepmc`",
      -        "type": "string"
      -      },
      -      "epmcSource": {
      -        "description": "Europe PMC source code when `viaSource` is `europepmc`. Common values: `MED` (PubMed-derived), `PMC` (PMC counterpart), `PPR` (preprint), `PAT` (patent), `AGR` (Agricola), plus less common codes (`CTX`, `CBA`, `ETH`, `HIR`). Treat as opaque — EPMC may introduce new codes.",
      -        "type": "string"
      -      },
      -      "journal": {
      -        "additionalProperties": false,
      -        "description": "Journal information",
      -        "properties": {
      -          "elocationId": {
      -            "description": "Electronic article locator from JATS `<elocation-id>` — the publisher-assigned article number (e.g. \"e20542\"). Journals that assign article numbers deposit no `<fpage>`, so this is the only locator on roughly half of PMC records. Never a substitute for `pages`; JATS carries no type attribute, so there is no counterpart to the `elocationIdType` that `pubmed_fetch_articles` reports.",
      -            "type": "string"
      -          },
      -          "issn": {
      -            "description": "ISSN",
      -            "type": "string"
      -          },
      -          "issue": {
      -            "description": "Issue number",
      -            "type": "string"
      -          },
      -          "pages": {
      -            "description": "Page range",
      -            "type": "string"
      -          },
      -          "title": {
      -            "description": "Journal title",
      -            "type": "string"
      -          },
      -          "volume": {
      -            "description": "Volume number",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "keywords": {
      -        "description": "Keywords",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "pmcId": {
      -        "description": "PMC ID — present for NCBI PMC records and Europe PMC entries that have a PMC counterpart. Absent for EPMC-only records like preprints; use `epmcId` in that case.",
      -        "type": "string"
      -      },
      -      "pmcUrl": {
      -        "description": "PMC URL — derived from `pmcId` when present",
      -        "type": "string"
      -      },
      -      "pmid": {
      -        "description": "PubMed ID",
      -        "type": "string"
      -      },
      -      "publicationDate": {
      -        "additionalProperties": false,
      -        "description": "Publication date",
      -        "properties": {
      -          "day": {
      -            "description": "Publication day",
      -            "type": "string"
      -          },
      -          "month": {
      -            "description": "Publication month",
      -            "type": "string"
      -          },
      -          "year": {
      -            "description": "Publication year",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "pubmedUrl": {
      -        "description": "PubMed URL",
      -        "type": "string"
      -      },
      -      "references": {
      -        "description": "Reference list",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Reference entry",
      -          "properties": {
      -            "citation": {
      -              "description": "Citation text",
      -              "type": "string"
      -            },
      -            "id": {
      -              "description": "Reference ID",
      -              "type": "string"
      -            },
      -            "label": {
      -              "description": "Reference label",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "citation"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "sections": {
      -        "description": "Article body sections",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Article body section",
      -          "properties": {
      -            "label": {
      -              "description": "Section label",
      -              "type": "string"
      -            },
      -            "subsections": {
      -              "description": "Nested subsections",
      -              "items": {
      -                "additionalProperties": false,
      -                "description": "Article subsection",
      -                "properties": {
      -                  "label": {
      -                    "description": "Subsection label",
      -                    "type": "string"
      -                  },
      -                  "text": {
      -                    "description": "Subsection body text. Sections nested deeper than this level are folded in here in document order, each heading rendered on its own line above its text.",
      -                    "type": "string"
      -                  },
      -                  "title": {
      -                    "description": "Subsection heading",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "text"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "text": {
      -              "description": "Section body text",
      -              "type": "string"
      -            },
      -            "title": {
      -              "description": "Section heading",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "text"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "source": {
      -        "const": "pmc",
      -        "description": "Structured JATS — same DTD whether sourced from NCBI PMC or Europe PMC",
      -        "type": "string"
      -      },
      -      "tables": {
      -        "description": "Every `<table-wrap>` the article carries, in document order — from the body and from `<floats-group>`, `<back>` and appendices alike. Absent when the article deposits none, when `includeTables` is false, or when a `sections` filter left none standing.",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "One table from the article, with its cells, caption, and owning section",
      -          "properties": {
      -            "caption": {
      -              "description": "Caption text, with the label excluded",
      -              "type": "string"
      -            },
      -            "footnotes": {
      -              "description": "`<table-wrap-foot>` text, flattened to one string",
      -              "type": "string"
      -            },
      -            "headerRowCount": {
      -              "description": "How many leading `rows` entries are header rows — a `<thead>` block, or leading rows made entirely of `<th>`. 0 when the table declares none. Several header rows stack: read one column top to bottom for its full header path.",
      -              "type": "number"
      -            },
      -            "id": {
      -              "description": "JATS `id` attribute — the target body-text cross-references point at",
      -              "type": "string"
      -            },
      -            "label": {
      -              "description": "Table label as printed, e.g. `TABLE 1`",
      -              "type": "string"
      -            },
      -            "rows": {
      -              "description": "Cell text by row, in document order, one entry per grid column. `colspan` and `rowspan` are expanded, so a cell covering several columns or rows repeats its text across each cell it covers and a well-formed table is rectangular — align on position from the left, and read a repeated value as one spanning cell rather than several measurements. Empty when `unextractableReason` is set.",
      -              "items": {
      -                "description": "One row, as cell text by grid column",
      -                "items": {
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              "type": "array"
      -            },
      -            "sectionTitle": {
      -              "description": "Title of the innermost section enclosing the table, wherever that section sits — body, `<back>` matter, or an appendix all count, and in back matter the section name is the only positional cue there is. Absent only for a table inside no section at all, such as a `<floats-group>` deposit.",
      -              "type": "string"
      -            },
      -            "unextractableReason": {
      -              "description": "Why `rows` is empty — set only then. graphic-only: the table was deposited as an image with no underlying markup. cals-tgroup: the table uses the CALS `<tgroup>` model, which this server does not extract (0 of 283 tables in an open-access survey used it). no-rows: the markup carried no rows. The label and caption are still returned, so a table that could not be read is visible rather than silently missing.",
      -              "enum": [
      -                "cals-tgroup",
      -                "graphic-only",
      -                "no-rows"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "headerRowCount",
      -            "rows"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "title": {
      -        "description": "Article title",
      -        "type": "string"
      -      },
      -      "viaSource": {
      -        "description": "Which layer produced the JATS: `pmc` for NCBI PMC EFetch (db=pmc), `europepmc` for Europe PMC `fullTextXML`. Both paths return the same JATS shape; the discriminator records origin for observability and license attribution.",
      -        "enum": [
      -          "pmc",
      -          "europepmc"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "viaSource",
      -      "sections"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "Best-effort full text from an open-access copy",
      -    "properties": {
      -      "content": {
      -        "description": "Full article text — Markdown or plain text per `contentFormat`",
      -        "type": "string"
      -      },
      -      "contentFormat": {
      -        "description": "How `content` was extracted. html-markdown: Defuddle extracted Markdown from an HTML landing page; light section structure may survive but is not guaranteed. pdf-text: unpdf extracted plain text from a PDF; no section, reference, or heading structure.",
      -        "enum": [
      -          "html-markdown",
      -          "pdf-text"
      -        ],
      -        "type": "string"
      -      },
      -      "doi": {
      -        "description": "DOI used to locate the open-access copy",
      -        "type": "string"
      -      },
      -      "hostType": {
      -        "description": "`publisher` or `repository` — where the OA copy is hosted",
      -        "type": "string"
      -      },
      -      "license": {
      -        "description": "License identifier from Unpaywall (e.g. cc-by, cc0)",
      -        "type": "string"
      -      },
      -      "pmcId": {
      -        "description": "PMC ID this article was requested under, in `PMC<digits>` form — present for `pmcids` input, absent for `pmids` and `dois` input. Ties the article back to the requested identifier, which `unavailable[]` keys on for the ids that found nothing.",
      -        "type": "string"
      -      },
      -      "pmid": {
      -        "description": "PubMed ID when input was `pmids`; absent for `pmcids` and `dois` input",
      -        "type": "string"
      -      },
      -      "pubmedUrl": {
      -        "description": "PubMed URL — present when `pmid` is set",
      -        "type": "string"
      -      },
      -      "source": {
      -        "const": "unpaywall",
      -        "description": "Content fetched from an open-access copy indexed by Unpaywall. Best-effort — structural fidelity depends on `contentFormat`.",
      -        "type": "string"
      -      },
      -      "sourceUrl": {
      -        "description": "URL the content was fetched from",
      -        "type": "string"
      -      },
      -      "title": {
      -        "description": "Detected article title when present",
      -        "type": "string"
      -      },
      -      "totalPages": {
      -        "description": "Page count reported by the PDF extractor; absent for HTML",
      -        "type": "number"
      -      },
      -      "version": {
      -        "description": "OA version: submittedVersion | acceptedVersion | publishedVersion",
      -        "type": "string"
      -      },
      -      "viaSource": {
      -        "const": "unpaywall",
      -        "description": "Layer that produced this article. Constant `unpaywall` for this branch.",
      -        "type": "string"
      -      },
      -      "wordCount": {
      -        "description": "Approximate word count reported by the HTML extractor; absent for PDFs",
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "viaSource",
      -      "contentFormat",
      -      "doi",
      -      "sourceUrl",
      -      "content"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "Structured JATS full-text article. `viaSource` records whether the JATS came from NCBI PMC or Europe PMC.",
      +    "properties": {
      +      "abstract": {
      +        "description": "Abstract",
      +        "type": "string"
      +      },
      +      "affiliations": {
      +        "description": "Author affiliations",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "articleType": {
      +        "description": "Article type",
      +        "type": "string"
      +      },
      +      "assets": {
      +        "description": "Every `<fig>` and `<supplementary-material>` the article carries, in document order — from the body and from `<floats-group>`, `<back>` and appendices alike. Each one lifted from the body leaves a `[Figure: <label>]` or `[Supplementary: <label>]` marker at its position in the section text, so reading order survives the lift. Absent when the article deposits none, when `includeAssets` is false, or when a `sections` filter left none standing.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "One figure or supplementary-material item, with its caption, pointer, and section",
      +          "properties": {
      +            "assetType": {
      +              "description": "Which captioned element this came from — `figure` for a `<fig>`, `supplementary-material` for a `<supplementary-material>` deposit",
      +              "enum": [
      +                "figure",
      +                "supplementary-material"
      +              ],
      +              "type": "string"
      +            },
      +            "caption": {
      +              "description": "Caption text, with the label excluded",
      +              "type": "string"
      +            },
      +            "href": {
      +              "description": "The `<graphic>`/`<media>` `@xlink:href` exactly as deposited — a pointer into the PMC deposit (`MOL2-20-1253-g001.jpg`), not a fetchable URL. No absolute form of it resolves; read the rendered article at `pmcUrl` instead. Absent when the deposit names no file.",
      +              "type": "string"
      +            },
      +            "id": {
      +              "description": "JATS `id` attribute — the target body-text cross-references point at",
      +              "type": "string"
      +            },
      +            "label": {
      +              "description": "Display label as printed, e.g. `Fig. 1`",
      +              "type": "string"
      +            },
      +            "sectionTitle": {
      +              "description": "Title of the innermost section enclosing the asset, wherever that section sits — body, `<back>` matter, or an appendix all count. Absent for an asset inside no section at all, such as a `<floats-group>` deposit.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "assetType"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "authors": {
      +        "description": "Authors",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Author entry",
      +          "properties": {
      +            "collectiveName": {
      +              "description": "Group name",
      +              "type": "string"
      +            },
      +            "givenNames": {
      +              "description": "Given names",
      +              "type": "string"
      +            },
      +            "lastName": {
      +              "description": "Last name",
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "doi": {
      +        "description": "DOI, cased as the tier that served this record reports it (NCBI PMC, Europe PMC, or Unpaywall). DOIs are case-insensitive by spec and no case normalization is applied here, so casing can differ between tiers and from other tools — compare case-insensitively.",
      +        "type": "string"
      +      },
      +      "epmcId": {
      +        "description": "Europe PMC record id — present when `viaSource` is `europepmc`",
      +        "type": "string"
      +      },
      +      "epmcSource": {
      +        "description": "Europe PMC source code when `viaSource` is `europepmc`. Common values: `MED` (PubMed-derived), `PMC` (PMC counterpart), `PPR` (preprint), `PAT` (patent), `AGR` (Agricola), plus less common codes (`CTX`, `CBA`, `ETH`, `HIR`). Treat as opaque — EPMC may introduce new codes.",
      +        "type": "string"
      +      },
      +      "journal": {
      +        "additionalProperties": false,
      +        "description": "Journal information",
      +        "properties": {
      +          "elocationId": {
      +            "description": "Electronic article locator from JATS `<elocation-id>` — the publisher-assigned article number (e.g. \"e20542\"). Journals that assign article numbers deposit no `<fpage>`, so this is the only locator on roughly half of PMC records. Never a substitute for `pages`; JATS carries no type attribute, so there is no counterpart to the `elocationIdType` that `pubmed_fetch_articles` reports.",
      +            "type": "string"
      +          },
      +          "issn": {
      +            "description": "ISSN",
      +            "type": "string"
      +          },
      +          "issue": {
      +            "description": "Issue number",
      +            "type": "string"
      +          },
      +          "pages": {
      +            "description": "Page range",
      +            "type": "string"
      +          },
      +          "title": {
      +            "description": "Journal title",
      +            "type": "string"
      +          },
      +          "volume": {
      +            "description": "Volume number",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "keywords": {
      +        "description": "Keywords",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "pmcId": {
      +        "description": "PMC ID — present for NCBI PMC records and Europe PMC entries that have a PMC counterpart. Absent for EPMC-only records like preprints; use `epmcId` in that case.",
      +        "type": "string"
      +      },
      +      "pmcUrl": {
      +        "description": "PMC URL — derived from `pmcId` when present",
      +        "type": "string"
      +      },
      +      "pmid": {
      +        "description": "PubMed ID",
      +        "type": "string"
      +      },
      +      "publicationDate": {
      +        "additionalProperties": false,
      +        "description": "Publication date",
      +        "properties": {
      +          "day": {
      +            "description": "Publication day",
      +            "type": "string"
      +          },
      +          "month": {
      +            "description": "Publication month",
      +            "type": "string"
      +          },
      +          "year": {
      +            "description": "Publication year",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "pubmedUrl": {
      +        "description": "PubMed URL",
      +        "type": "string"
      +      },
      +      "references": {
      +        "description": "Reference list",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Reference entry",
      +          "properties": {
      +            "citation": {
      +              "description": "Citation text",
      +              "type": "string"
      +            },
      +            "id": {
      +              "description": "Reference ID",
      +              "type": "string"
      +            },
      +            "label": {
      +              "description": "Reference label",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "citation"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "sections": {
      +        "description": "Article body sections",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Article body section",
      +          "properties": {
      +            "label": {
      +              "description": "Section label",
      +              "type": "string"
      +            },
      +            "subsections": {
      +              "description": "Nested subsections",
      +              "items": {
      +                "additionalProperties": false,
      +                "description": "Article subsection",
      +                "properties": {
      +                  "label": {
      +                    "description": "Subsection label",
      +                    "type": "string"
      +                  },
      +                  "text": {
      +                    "description": "Subsection body text. Sections nested deeper than this level are folded in here in document order, each heading rendered on its own line above its text.",
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "description": "Subsection heading",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "text"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "text": {
      +              "description": "Section body text",
      +              "type": "string"
      +            },
      +            "title": {
      +              "description": "Section heading",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "text"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "source": {
      +        "const": "pmc",
      +        "description": "Structured JATS — same DTD whether sourced from NCBI PMC or Europe PMC",
      +        "type": "string"
      +      },
      +      "tables": {
      +        "description": "Every `<table-wrap>` the article carries, in document order — from the body and from `<floats-group>`, `<back>` and appendices alike. Absent when the article deposits none, when `includeTables` is false, or when a `sections` filter left none standing.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "One table from the article, with its cells, caption, and owning section",
      +          "properties": {
      +            "caption": {
      +              "description": "Caption text, with the label excluded",
      +              "type": "string"
      +            },
      +            "footnotes": {
      +              "description": "`<table-wrap-foot>` text, flattened to one string",
      +              "type": "string"
      +            },
      +            "headerRowCount": {
      +              "description": "How many leading `rows` entries are header rows — a `<thead>` block, or leading rows made entirely of `<th>`. 0 when the table declares none. Several header rows stack: read one column top to bottom for its full header path.",
      +              "type": "number"
      +            },
      +            "id": {
      +              "description": "JATS `id` attribute — the target body-text cross-references point at",
      +              "type": "string"
      +            },
      +            "label": {
      +              "description": "Table label as printed, e.g. `TABLE 1`",
      +              "type": "string"
      +            },
      +            "rows": {
      +              "description": "Cell text by row, in document order, one entry per grid column. `colspan` and `rowspan` are expanded, so a cell covering several columns or rows repeats its text across each cell it covers and a well-formed table is rectangular — align on position from the left, and read a repeated value as one spanning cell rather than several measurements. Empty when `unextractableReason` is set.",
      +              "items": {
      +                "description": "One row, as cell text by grid column",
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "type": "array"
      +            },
      +            "sectionTitle": {
      +              "description": "Title of the innermost section enclosing the table, wherever that section sits — body, `<back>` matter, or an appendix all count, and in back matter the section name is the only positional cue there is. Absent only for a table inside no section at all, such as a `<floats-group>` deposit.",
      +              "type": "string"
      +            },
      +            "unextractableReason": {
      +              "description": "Why `rows` is empty — set only then. graphic-only: the table was deposited as an image with no underlying markup. cals-tgroup: the table uses the CALS `<tgroup>` model, which this server does not extract (0 of 283 tables in an open-access survey used it). no-rows: the markup carried no rows. The label and caption are still returned, so a table that could not be read is visible rather than silently missing.",
      +              "enum": [
      +                "cals-tgroup",
      +                "graphic-only",
      +                "no-rows"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "headerRowCount",
      +            "rows"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "title": {
      +        "description": "Article title",
      +        "type": "string"
      +      },
      +      "viaSource": {
      +        "description": "Which layer produced the JATS: `pmc` for NCBI PMC EFetch (db=pmc), `europepmc` for Europe PMC `fullTextXML`. Both paths return the same JATS shape; the discriminator records origin for observability and license attribution.",
      +        "enum": [
      +          "pmc",
      +          "europepmc"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "viaSource",
      +      "sections"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "Best-effort full text from an open-access copy",
      +    "properties": {
      +      "content": {
      +        "description": "Full article text — Markdown or plain text per `contentFormat`",
      +        "type": "string"
      +      },
      +      "contentFormat": {
      +        "description": "How `content` was extracted. html-markdown: Defuddle extracted Markdown from an HTML landing page; light section structure may survive but is not guaranteed. pdf-text: unpdf extracted plain text from a PDF; no section, reference, or heading structure.",
      +        "enum": [
      +          "html-markdown",
      +          "pdf-text"
      +        ],
      +        "type": "string"
      +      },
      +      "doi": {
      +        "description": "DOI used to locate the open-access copy",
      +        "type": "string"
      +      },
      +      "hostType": {
      +        "description": "`publisher` or `repository` — where the OA copy is hosted",
      +        "type": "string"
      +      },
      +      "journalName": {
      +        "description": "Journal or repository name from Unpaywall's record for the DOI (e.g. `medRxiv` for a medRxiv preprint). Absent when Unpaywall has none.",
      +        "type": "string"
      +      },
      +      "license": {
      +        "description": "License identifier from Unpaywall (e.g. cc-by, cc0)",
      +        "type": "string"
      +      },
      +      "pmcId": {
      +        "description": "PMC ID this article was requested under, in `PMC<digits>` form — present for `pmcids` input, absent for `pmids` and `dois` input. Ties the article back to the requested identifier, which `unavailable[]` keys on for the ids that found nothing.",
      +        "type": "string"
      +      },
      +      "pmid": {
      +        "description": "PubMed ID when input was `pmids`; absent for `pmcids` and `dois` input",
      +        "type": "string"
      +      },
      +      "pubmedUrl": {
      +        "description": "PubMed URL — present when `pmid` is set",
      +        "type": "string"
      +      },
      +      "source": {
      +        "const": "unpaywall",
      +        "description": "Content fetched from an open-access copy indexed by Unpaywall. Best-effort — structural fidelity depends on `contentFormat`.",
      +        "type": "string"
      +      },
      +      "sourceUrl": {
      +        "description": "URL the content was fetched from",
      +        "type": "string"
      +      },
      +      "title": {
      +        "description": "Article title, from the first source that carries one: Unpaywall's record for the DOI, then the Europe PMC record when the chain searched Europe PMC for this id, then — for `html-markdown` content only — the title detected on the page. Absent when none of them has a title.",
      +        "type": "string"
      +      },
      +      "totalPages": {
      +        "description": "Page count reported by the PDF extractor; absent for HTML",
      +        "type": "number"
      +      },
      +      "version": {
      +        "description": "OA version: submittedVersion | acceptedVersion | publishedVersion",
      +        "type": "string"
      +      },
      +      "viaSource": {
      +        "const": "unpaywall",
      +        "description": "Layer that produced this article. Constant `unpaywall` for this branch.",
      +        "type": "string"
      +      },
      +      "wordCount": {
      +        "description": "Approximate word count reported by the HTML extractor; absent for PDFs",
      +        "type": "number"
      +      },
      +      "year": {
      +        "description": "Publication year from Unpaywall's record for the DOI. Absent when Unpaywall has none.",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "viaSource",
      +      "contentFormat",
      +      "doi",
      +      "sourceUrl",
      +      "content"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `queue_full`: Local NCBI request queue is at capacity. `ncbi_unreachable`: NCBI E-utilities is unreachable after all retry attempts. `ncbi_deadline_exceeded`: Total request deadline expired before NCBI returned a response. `ncbi_invalid_response`: NCBI returned a body that could not be parsed (invalid XML/JSON). `ncbi_resource_not_found`: NCBI returned a structured \"not found\" error for the requested ID(s). `unpaywall_unreachable`: Unpaywall was unreachable when resolving a DOI or fetching content. `europepmc_unreachable`: Europe PMC was unreachable after all retry attempts. `europepmc_invalid_response`: Europe PMC returned a body that could not be parsed (invalid JSON or XML). `europepmc_invalid_input`: Europe PMC rejected the request input (empty query, unknown sort field, malformed parameter). Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `queue_full`: The local NCBI request queue shed the call — the queue is full, or the call cannot start before its total deadline (for example behind the cooldown that follows an NCBI 429). `ncbi_unreachable`: NCBI E-utilities is unreachable after all retry attempts. `ncbi_deadline_exceeded`: Total request deadline expired before NCBI returned a response. `ncbi_invalid_response`: NCBI returned a body that could not be parsed (invalid XML/JSON). `ncbi_resource_not_found`: NCBI returned a structured \"not found\" error for the requested ID(s). Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "queue_full",
      -  "ncbi_unreachable",
      -  "ncbi_deadline_exceeded",
      -  "ncbi_invalid_response",
      -  "ncbi_resource_not_found",
      -  "unpaywall_unreachable",
      -  "europepmc_unreachable",
      -  "europepmc_invalid_response",
      -  "europepmc_invalid_input"
      -]New value: +[
      +  "queue_full",
      +  "ncbi_unreachable",
      +  "ncbi_deadline_exceeded",
      +  "ncbi_invalid_response",
      +  "ncbi_resource_not_found"
      +]
    • changedOutput schema / properties / truncation / properties / articles / items / properties / sections / description
      Previous value: -"Per-section accounting for `source: pmc` articles, in document order, including sections dropped for budget. Absent for `source: unpaywall`, whose body has no section structure."New value: +"Per-section accounting for `source: pmc` articles, in document order, including sections dropped for budget; a shortened section lists its subsections. Absent for `source: unpaywall`, whose body has no section structure."
    • addedOutput schema / properties / truncation / properties / articles / items / properties / sections / items / properties / label
      Added value: +{
      +  "description": "Section label as printed (e.g. `2`), when the section carries one",
      +  "type": "string"
      +}
    • changedOutput schema / properties / truncation / properties / articles / items / properties / sections / items / properties / returnedCharacters / description
      Previous value: -"Body characters this section carries in the response. Zero means the section was dropped in `truncate` mode, or kept as a heading-only entry in `outline` mode."New value: +"Body characters this section carries in the response. Zero means the section was dropped in `truncate` mode, or kept as a heading-only entry in `outline` mode, marked as such in the rendered text."
    • addedOutput schema / properties / truncation / properties / articles / items / properties / sections / items / properties / subsections
      Added value: +{
      +  "description": "Per-subsection accounting for a shortened section, in document order, including subsections dropped for budget — where inside the section the cut landed. Absent when the section was returned whole or carries no subsections.",
      +  "items": {
      +    "additionalProperties": false,
      +    "description": "Character accounting for one subsection of a shortened section",
      +    "properties": {
      +      "label": {
      +        "description": "Subsection label as printed (e.g. `2.1`), when the subsection carries one",
      +        "type": "string"
      +      },
      +      "originalCharacters": {
      +        "description": "Body characters this subsection carried before the budget pass",
      +        "type": "number"
      +      },
      +      "returnedCharacters": {
      +        "description": "Body characters this subsection carries in the response. Zero means it was dropped in `truncate` mode and counted in `omittedSections`, or kept as a heading-only entry in `outline` mode, marked as such in the rendered text.",
      +        "type": "number"
      +      },
      +      "title": {
      +        "description": "Subsection heading, when the subsection carries one",
      +        "type": "string"
      +      },
      +      "truncated": {
      +        "description": "True when the subsection returned fewer characters than it originally carried",
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "originalCharacters",
      +      "returnedCharacters",
      +      "truncated"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / truncation / properties / omittedSections / description
      Previous value: -"Body sections dropped entirely because an article budget was exhausted before reaching them. Always 0 in `outline` mode, which keeps every heading."New value: +"Body sections and subsections dropped entirely because an article budget was exhausted before reaching them. A dropped section counts once, together with its subsections. Always 0 in `outline` mode, which keeps every heading."
  5. Changed19 schema fields changedv2.10.12
    • changedInput schema / properties / dois / description
      Previous value: -"DOIs to resolve (e.g. [\"10.21203/rs.3.rs-9010375/v1\"]). Provide exactly one of `pmcids`, `pmids`, or `dois`. Resolved to a PMCID via the PMC ID Converter and returned as structured JATS when the article is in PMC; DOIs with no PMC counterpart (preprints, EPMC-only OA) fall through to Europe PMC, then Unpaywall, when those layers are enabled."New value: +"DOIs to resolve (e.g. [\"10.21203/rs.3.rs-9010375/v1\"]), one per element. Provide exactly one of `pmcids`, `pmids`, or `dois`. Resolved to a PMCID via the PMC ID Converter and returned as structured JATS when the article is in PMC; DOIs with no PMC counterpart (preprints, EPMC-only OA) fall through to Europe PMC, then Unpaywall, when those layers are enabled."
    • removedInput schema / properties / dois / items / minLength
      Removed value: -3
    • addedInput schema / properties / dois / items / pattern
      Added value: +"^10\\.[^\\s,]+\\/[^\\s,]+$"
    • addedInput schema / properties / includeAssets
      Added value: +{
      +  "default": true,
      +  "description": "Include the article's figures and supplementary material — `assets[]`, each with its label, caption, enclosing section and deposit pointer. On by default because it is cheaper than tables: a median asset-bearing article grows about 10%, and the body prose already refers to these by label. Set false to omit them, which also removes the `[Figure: …]` / `[Supplementary: …]` markers from the section text, since without the array they point at nothing. Prose-shaped blocks — lists, definition lists, block quotes, boxed text, preformatted blocks, displayed formulae — are section text rather than assets and this switch never affects them. Applies to `source=pmc` results only.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / includeTables
      Added value: +{
      +  "default": true,
      +  "description": "Include the article's tables — cells, captions, labels and footnotes. On by default because a dropped table takes its numbers with it. Table-dense articles pay for it: rendered tables typically add 12–17% to an article record and can more than double it. Set false to omit them, or cap the cost with `maxCharacters`, which drops tables it cannot fit whole. Applies to `source=pmc` results only.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / maxCharacters / description
      Previous value: -"Per-article budget for body text, in characters. Counts `source=pmc` section and subsection text, or the `source=unpaywall` `content` body; titles, abstracts, identifiers, and references are never counted or shortened. Applied after `sections`, `maxSections`, and `includeReferences`, so semantic filtering is unaffected. This knob alone bounds only bodies: the response-wide ceiling it implies is this value times the number of articles returned, plus every uncounted field. Use `maxResponseCharacters` for a true whole-response ceiling. Omit for the full body."New value: +"Per-article budget for body text, in characters. Counts `source=pmc` section and subsection text — which carries the inline blocks the parser renders in place, such as lists, definition lists, block quotes, boxed text, preformatted blocks and displayed formulae — plus table label, caption, cell and footnote text and asset label, caption and `href` text; or the `source=unpaywall` `content` body. Titles, abstracts, identifiers, and references are never counted or shortened. The counted unit is that text alone — the Markdown grid `content[]` renders around the cells (pipes, padding, the divider row, headings) is scaffolding this budget does not measure, so a table renders longer than it costs here. Sections are served first, then tables, then assets, each spending what is left, in document order — admission stops at the first entry that does not fit, and every entry from there on is dropped whole rather than cut mid-row or returned with a shortened caption, counted in `truncation.omittedTables` / `truncation.omittedAssets` and named in `truncation.articles[].omittedTableNames` / `omittedAssetNames`. Applied after `sections`, `maxSections`, `includeReferences`, `includeTables`, and `includeAssets`, so semantic filtering is unaffected. This knob alone bounds only bodies: the response-wide ceiling it implies is this value times the number of articles returned, plus every uncounted field. Use `maxResponseCharacters` for a true whole-response ceiling. Omit for the full body."
    • changedInput schema / properties / sections / description
      Previous value: -"Filter to specific sections by title, case-insensitive (e.g. [\"Introduction\", \"Methods\", \"Results\", \"Discussion\"]). Applies to `source=pmc` results only."New value: +"Filter to specific sections by title (e.g. [\"Introduction\", \"Methods\", \"Results\", \"Discussion\"]). A term matches a section or subsection title at any nesting depth, case-insensitively, as a substring — \"resul\" matches \"Results\". A section whose own title matches is returned whole; one kept only because a nested subsection matched keeps its heading as a breadcrumb, with its own text cleared and only the matching branch beneath it. Tables and assets narrow with the filter: one whose section did not survive, or that names no section, is dropped. Applies to `source=pmc` results only."
    • changedOutput schema / properties / articles / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "Structured JATS full-text article. `viaSource` records whether the JATS came from NCBI PMC or Europe PMC.",
      -    "properties": {
      -      "abstract": {
      -        "description": "Abstract",
      -        "type": "string"
      -      },
      -      "affiliations": {
      -        "description": "Author affiliations",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "articleType": {
      -        "description": "Article type",
      -        "type": "string"
      -      },
      -      "authors": {
      -        "description": "Authors",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Author entry",
      -          "properties": {
      -            "collectiveName": {
      -              "description": "Group name",
      -              "type": "string"
      -            },
      -            "givenNames": {
      -              "description": "Given names",
      -              "type": "string"
      -            },
      -            "lastName": {
      -              "description": "Last name",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "doi": {
      -        "description": "DOI, cased as the tier that served this record reports it (NCBI PMC, Europe PMC, or Unpaywall). DOIs are case-insensitive by spec and no case normalization is applied here, so casing can differ between tiers and from other tools — compare case-insensitively.",
      -        "type": "string"
      -      },
      -      "epmcId": {
      -        "description": "Europe PMC record id — present when `viaSource` is `europepmc`",
      -        "type": "string"
      -      },
      -      "epmcSource": {
      -        "description": "Europe PMC source code when `viaSource` is `europepmc`. Common values: `MED` (PubMed-derived), `PMC` (PMC counterpart), `PPR` (preprint), `PAT` (patent), `AGR` (Agricola), plus less common codes (`CTX`, `CBA`, `ETH`, `HIR`). Treat as opaque — EPMC may introduce new codes.",
      -        "type": "string"
      -      },
      -      "journal": {
      -        "additionalProperties": false,
      -        "description": "Journal information",
      -        "properties": {
      -          "issn": {
      -            "description": "ISSN",
      -            "type": "string"
      -          },
      -          "issue": {
      -            "description": "Issue number",
      -            "type": "string"
      -          },
      -          "pages": {
      -            "description": "Page range",
      -            "type": "string"
      -          },
      -          "title": {
      -            "description": "Journal title",
      -            "type": "string"
      -          },
      -          "volume": {
      -            "description": "Volume number",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "keywords": {
      -        "description": "Keywords",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "pmcId": {
      -        "description": "PMC ID — present for NCBI PMC records and Europe PMC entries that have a PMC counterpart. Absent for EPMC-only records like preprints; use `epmcId` in that case.",
      -        "type": "string"
      -      },
      -      "pmcUrl": {
      -        "description": "PMC URL — derived from `pmcId` when present",
      -        "type": "string"
      -      },
      -      "pmid": {
      -        "description": "PubMed ID",
      -        "type": "string"
      -      },
      -      "publicationDate": {
      -        "additionalProperties": false,
      -        "description": "Publication date",
      -        "properties": {
      -          "day": {
      -            "description": "Publication day",
      -            "type": "string"
      -          },
      -          "month": {
      -            "description": "Publication month",
      -            "type": "string"
      -          },
      -          "year": {
      -            "description": "Publication year",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "pubmedUrl": {
      -        "description": "PubMed URL",
      -        "type": "string"
      -      },
      -      "references": {
      -        "description": "Reference list",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Reference entry",
      -          "properties": {
      -            "citation": {
      -              "description": "Citation text",
      -              "type": "string"
      -            },
      -            "id": {
      -              "description": "Reference ID",
      -              "type": "string"
      -            },
      -            "label": {
      -              "description": "Reference label",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "citation"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "sections": {
      -        "description": "Article body sections",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Article body section",
      -          "properties": {
      -            "label": {
      -              "description": "Section label",
      -              "type": "string"
      -            },
      -            "subsections": {
      -              "description": "Nested subsections",
      -              "items": {
      -                "additionalProperties": false,
      -                "description": "Article subsection",
      -                "properties": {
      -                  "label": {
      -                    "description": "Subsection label",
      -                    "type": "string"
      -                  },
      -                  "text": {
      -                    "description": "Subsection body text. Sections nested deeper than this level are folded in here in document order, each heading rendered on its own line above its text.",
      -                    "type": "string"
      -                  },
      -                  "title": {
      -                    "description": "Subsection heading",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "text"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "text": {
      -              "description": "Section body text",
      -              "type": "string"
      -            },
      -            "title": {
      -              "description": "Section heading",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "text"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "source": {
      -        "const": "pmc",
      -        "description": "Structured JATS — same DTD whether sourced from NCBI PMC or Europe PMC",
      -        "type": "string"
      -      },
      -      "title": {
      -        "description": "Article title",
      -        "type": "string"
      -      },
      -      "viaSource": {
      -        "description": "Which layer produced the JATS: `pmc` for NCBI PMC EFetch (db=pmc), `europepmc` for Europe PMC `fullTextXML`. Both paths return the same JATS shape; the discriminator records origin for observability and license attribution.",
      -        "enum": [
      -          "pmc",
      -          "europepmc"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "viaSource",
      -      "sections"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "Best-effort full text from an open-access copy",
      -    "properties": {
      -      "content": {
      -        "description": "Full article text — Markdown or plain text per `contentFormat`",
      -        "type": "string"
      -      },
      -      "contentFormat": {
      -        "description": "How `content` was extracted. html-markdown: Defuddle extracted Markdown from an HTML landing page; light section structure may survive but is not guaranteed. pdf-text: unpdf extracted plain text from a PDF; no section, reference, or heading structure.",
      -        "enum": [
      -          "html-markdown",
      -          "pdf-text"
      -        ],
      -        "type": "string"
      -      },
      -      "doi": {
      -        "description": "DOI used to locate the open-access copy",
      -        "type": "string"
      -      },
      -      "hostType": {
      -        "description": "`publisher` or `repository` — where the OA copy is hosted",
      -        "type": "string"
      -      },
      -      "license": {
      -        "description": "License identifier from Unpaywall (e.g. cc-by, cc0)",
      -        "type": "string"
      -      },
      -      "pmcId": {
      -        "description": "PMC ID this article was requested under, in `PMC<digits>` form — present for `pmcids` input, absent for `pmids` and `dois` input. Ties the article back to the requested identifier, which `unavailable[]` keys on for the ids that found nothing.",
      -        "type": "string"
      -      },
      -      "pmid": {
      -        "description": "PubMed ID when input was `pmids`; absent for `pmcids` and `dois` input",
      -        "type": "string"
      -      },
      -      "pubmedUrl": {
      -        "description": "PubMed URL — present when `pmid` is set",
      -        "type": "string"
      -      },
      -      "source": {
      -        "const": "unpaywall",
      -        "description": "Content fetched from an open-access copy indexed by Unpaywall. Best-effort — structural fidelity depends on `contentFormat`.",
      -        "type": "string"
      -      },
      -      "sourceUrl": {
      -        "description": "URL the content was fetched from",
      -        "type": "string"
      -      },
      -      "title": {
      -        "description": "Detected article title when present",
      -        "type": "string"
      -      },
      -      "totalPages": {
      -        "description": "Page count reported by the PDF extractor; absent for HTML",
      -        "type": "number"
      -      },
      -      "version": {
      -        "description": "OA version: submittedVersion | acceptedVersion | publishedVersion",
      -        "type": "string"
      -      },
      -      "viaSource": {
      -        "const": "unpaywall",
      -        "description": "Layer that produced this article. Constant `unpaywall` for this branch.",
      -        "type": "string"
      -      },
      -      "wordCount": {
      -        "description": "Approximate word count reported by the HTML extractor; absent for PDFs",
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "viaSource",
      -      "contentFormat",
      -      "doi",
      -      "sourceUrl",
      -      "content"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "Structured JATS full-text article. `viaSource` records whether the JATS came from NCBI PMC or Europe PMC.",
      +    "properties": {
      +      "abstract": {
      +        "description": "Abstract",
      +        "type": "string"
      +      },
      +      "affiliations": {
      +        "description": "Author affiliations",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "articleType": {
      +        "description": "Article type",
      +        "type": "string"
      +      },
      +      "assets": {
      +        "description": "Every `<fig>` and `<supplementary-material>` the article carries, in document order — from the body and from `<floats-group>`, `<back>` and appendices alike. Each one lifted from the body leaves a `[Figure: <label>]` or `[Supplementary: <label>]` marker at its position in the section text, so reading order survives the lift. Absent when the article deposits none, when `includeAssets` is false, or when a `sections` filter left none standing.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "One figure or supplementary-material item, with its caption, pointer, and section",
      +          "properties": {
      +            "assetType": {
      +              "description": "Which captioned element this came from — `figure` for a `<fig>`, `supplementary-material` for a `<supplementary-material>` deposit",
      +              "enum": [
      +                "figure",
      +                "supplementary-material"
      +              ],
      +              "type": "string"
      +            },
      +            "caption": {
      +              "description": "Caption text, with the label excluded",
      +              "type": "string"
      +            },
      +            "href": {
      +              "description": "The `<graphic>`/`<media>` `@xlink:href` exactly as deposited — a pointer into the PMC deposit (`MOL2-20-1253-g001.jpg`), not a fetchable URL. No absolute form of it resolves; read the rendered article at `pmcUrl` instead. Absent when the deposit names no file.",
      +              "type": "string"
      +            },
      +            "id": {
      +              "description": "JATS `id` attribute — the target body-text cross-references point at",
      +              "type": "string"
      +            },
      +            "label": {
      +              "description": "Display label as printed, e.g. `Fig. 1`",
      +              "type": "string"
      +            },
      +            "sectionTitle": {
      +              "description": "Title of the innermost section enclosing the asset, wherever that section sits — body, `<back>` matter, or an appendix all count. Absent for an asset inside no section at all, such as a `<floats-group>` deposit.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "assetType"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "authors": {
      +        "description": "Authors",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Author entry",
      +          "properties": {
      +            "collectiveName": {
      +              "description": "Group name",
      +              "type": "string"
      +            },
      +            "givenNames": {
      +              "description": "Given names",
      +              "type": "string"
      +            },
      +            "lastName": {
      +              "description": "Last name",
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "doi": {
      +        "description": "DOI, cased as the tier that served this record reports it (NCBI PMC, Europe PMC, or Unpaywall). DOIs are case-insensitive by spec and no case normalization is applied here, so casing can differ between tiers and from other tools — compare case-insensitively.",
      +        "type": "string"
      +      },
      +      "epmcId": {
      +        "description": "Europe PMC record id — present when `viaSource` is `europepmc`",
      +        "type": "string"
      +      },
      +      "epmcSource": {
      +        "description": "Europe PMC source code when `viaSource` is `europepmc`. Common values: `MED` (PubMed-derived), `PMC` (PMC counterpart), `PPR` (preprint), `PAT` (patent), `AGR` (Agricola), plus less common codes (`CTX`, `CBA`, `ETH`, `HIR`). Treat as opaque — EPMC may introduce new codes.",
      +        "type": "string"
      +      },
      +      "journal": {
      +        "additionalProperties": false,
      +        "description": "Journal information",
      +        "properties": {
      +          "elocationId": {
      +            "description": "Electronic article locator from JATS `<elocation-id>` — the publisher-assigned article number (e.g. \"e20542\"). Journals that assign article numbers deposit no `<fpage>`, so this is the only locator on roughly half of PMC records. Never a substitute for `pages`; JATS carries no type attribute, so there is no counterpart to the `elocationIdType` that `pubmed_fetch_articles` reports.",
      +            "type": "string"
      +          },
      +          "issn": {
      +            "description": "ISSN",
      +            "type": "string"
      +          },
      +          "issue": {
      +            "description": "Issue number",
      +            "type": "string"
      +          },
      +          "pages": {
      +            "description": "Page range",
      +            "type": "string"
      +          },
      +          "title": {
      +            "description": "Journal title",
      +            "type": "string"
      +          },
      +          "volume": {
      +            "description": "Volume number",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "keywords": {
      +        "description": "Keywords",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "pmcId": {
      +        "description": "PMC ID — present for NCBI PMC records and Europe PMC entries that have a PMC counterpart. Absent for EPMC-only records like preprints; use `epmcId` in that case.",
      +        "type": "string"
      +      },
      +      "pmcUrl": {
      +        "description": "PMC URL — derived from `pmcId` when present",
      +        "type": "string"
      +      },
      +      "pmid": {
      +        "description": "PubMed ID",
      +        "type": "string"
      +      },
      +      "publicationDate": {
      +        "additionalProperties": false,
      +        "description": "Publication date",
      +        "properties": {
      +          "day": {
      +            "description": "Publication day",
      +            "type": "string"
      +          },
      +          "month": {
      +            "description": "Publication month",
      +            "type": "string"
      +          },
      +          "year": {
      +            "description": "Publication year",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "pubmedUrl": {
      +        "description": "PubMed URL",
      +        "type": "string"
      +      },
      +      "references": {
      +        "description": "Reference list",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Reference entry",
      +          "properties": {
      +            "citation": {
      +              "description": "Citation text",
      +              "type": "string"
      +            },
      +            "id": {
      +              "description": "Reference ID",
      +              "type": "string"
      +            },
      +            "label": {
      +              "description": "Reference label",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "citation"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "sections": {
      +        "description": "Article body sections",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Article body section",
      +          "properties": {
      +            "label": {
      +              "description": "Section label",
      +              "type": "string"
      +            },
      +            "subsections": {
      +              "description": "Nested subsections",
      +              "items": {
      +                "additionalProperties": false,
      +                "description": "Article subsection",
      +                "properties": {
      +                  "label": {
      +                    "description": "Subsection label",
      +                    "type": "string"
      +                  },
      +                  "text": {
      +                    "description": "Subsection body text. Sections nested deeper than this level are folded in here in document order, each heading rendered on its own line above its text.",
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "description": "Subsection heading",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "text"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "text": {
      +              "description": "Section body text",
      +              "type": "string"
      +            },
      +            "title": {
      +              "description": "Section heading",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "text"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "source": {
      +        "const": "pmc",
      +        "description": "Structured JATS — same DTD whether sourced from NCBI PMC or Europe PMC",
      +        "type": "string"
      +      },
      +      "tables": {
      +        "description": "Every `<table-wrap>` the article carries, in document order — from the body and from `<floats-group>`, `<back>` and appendices alike. Absent when the article deposits none, when `includeTables` is false, or when a `sections` filter left none standing.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "One table from the article, with its cells, caption, and owning section",
      +          "properties": {
      +            "caption": {
      +              "description": "Caption text, with the label excluded",
      +              "type": "string"
      +            },
      +            "footnotes": {
      +              "description": "`<table-wrap-foot>` text, flattened to one string",
      +              "type": "string"
      +            },
      +            "headerRowCount": {
      +              "description": "How many leading `rows` entries are header rows — a `<thead>` block, or leading rows made entirely of `<th>`. 0 when the table declares none. Several header rows stack: read one column top to bottom for its full header path.",
      +              "type": "number"
      +            },
      +            "id": {
      +              "description": "JATS `id` attribute — the target body-text cross-references point at",
      +              "type": "string"
      +            },
      +            "label": {
      +              "description": "Table label as printed, e.g. `TABLE 1`",
      +              "type": "string"
      +            },
      +            "rows": {
      +              "description": "Cell text by row, in document order, one entry per grid column. `colspan` and `rowspan` are expanded, so a cell covering several columns or rows repeats its text across each cell it covers and a well-formed table is rectangular — align on position from the left, and read a repeated value as one spanning cell rather than several measurements. Empty when `unextractableReason` is set.",
      +              "items": {
      +                "description": "One row, as cell text by grid column",
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "type": "array"
      +            },
      +            "sectionTitle": {
      +              "description": "Title of the innermost section enclosing the table, wherever that section sits — body, `<back>` matter, or an appendix all count, and in back matter the section name is the only positional cue there is. Absent only for a table inside no section at all, such as a `<floats-group>` deposit.",
      +              "type": "string"
      +            },
      +            "unextractableReason": {
      +              "description": "Why `rows` is empty — set only then. graphic-only: the table was deposited as an image with no underlying markup. cals-tgroup: the table uses the CALS `<tgroup>` model, which this server does not extract (0 of 283 tables in an open-access survey used it). no-rows: the markup carried no rows. The label and caption are still returned, so a table that could not be read is visible rather than silently missing.",
      +              "enum": [
      +                "cals-tgroup",
      +                "graphic-only",
      +                "no-rows"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "headerRowCount",
      +            "rows"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "title": {
      +        "description": "Article title",
      +        "type": "string"
      +      },
      +      "viaSource": {
      +        "description": "Which layer produced the JATS: `pmc` for NCBI PMC EFetch (db=pmc), `europepmc` for Europe PMC `fullTextXML`. Both paths return the same JATS shape; the discriminator records origin for observability and license attribution.",
      +        "enum": [
      +          "pmc",
      +          "europepmc"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "viaSource",
      +      "sections"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "Best-effort full text from an open-access copy",
      +    "properties": {
      +      "content": {
      +        "description": "Full article text — Markdown or plain text per `contentFormat`",
      +        "type": "string"
      +      },
      +      "contentFormat": {
      +        "description": "How `content` was extracted. html-markdown: Defuddle extracted Markdown from an HTML landing page; light section structure may survive but is not guaranteed. pdf-text: unpdf extracted plain text from a PDF; no section, reference, or heading structure.",
      +        "enum": [
      +          "html-markdown",
      +          "pdf-text"
      +        ],
      +        "type": "string"
      +      },
      +      "doi": {
      +        "description": "DOI used to locate the open-access copy",
      +        "type": "string"
      +      },
      +      "hostType": {
      +        "description": "`publisher` or `repository` — where the OA copy is hosted",
      +        "type": "string"
      +      },
      +      "license": {
      +        "description": "License identifier from Unpaywall (e.g. cc-by, cc0)",
      +        "type": "string"
      +      },
      +      "pmcId": {
      +        "description": "PMC ID this article was requested under, in `PMC<digits>` form — present for `pmcids` input, absent for `pmids` and `dois` input. Ties the article back to the requested identifier, which `unavailable[]` keys on for the ids that found nothing.",
      +        "type": "string"
      +      },
      +      "pmid": {
      +        "description": "PubMed ID when input was `pmids`; absent for `pmcids` and `dois` input",
      +        "type": "string"
      +      },
      +      "pubmedUrl": {
      +        "description": "PubMed URL — present when `pmid` is set",
      +        "type": "string"
      +      },
      +      "source": {
      +        "const": "unpaywall",
      +        "description": "Content fetched from an open-access copy indexed by Unpaywall. Best-effort — structural fidelity depends on `contentFormat`.",
      +        "type": "string"
      +      },
      +      "sourceUrl": {
      +        "description": "URL the content was fetched from",
      +        "type": "string"
      +      },
      +      "title": {
      +        "description": "Detected article title when present",
      +        "type": "string"
      +      },
      +      "totalPages": {
      +        "description": "Page count reported by the PDF extractor; absent for HTML",
      +        "type": "number"
      +      },
      +      "version": {
      +        "description": "OA version: submittedVersion | acceptedVersion | publishedVersion",
      +        "type": "string"
      +      },
      +      "viaSource": {
      +        "const": "unpaywall",
      +        "description": "Layer that produced this article. Constant `unpaywall` for this branch.",
      +        "type": "string"
      +      },
      +      "wordCount": {
      +        "description": "Approximate word count reported by the HTML extractor; absent for PDFs",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "viaSource",
      +      "contentFormat",
      +      "doi",
      +      "sourceUrl",
      +      "content"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / properties / notice / description
      Previous value: -"Optional guidance for a partial or empty body. A `sections`-filter miss names the requested terms and affected article id(s) and suggests retrying without `sections` or using broader headings. A metadata-only record names the id(s) the chain could retrieve as front matter only and points at `pubmed_fetch_articles` for the abstract. A budgeted response names the characters returned versus carried and points at `truncation`. A response-wide budget that deferred articles names the ids to re-request. Absent when none of those applies."New value: +"Optional guidance for a partial or empty body. A `sections`-filter miss names the requested terms and affected article id(s) and suggests retrying without `sections` or using broader headings. A metadata-only record names the id(s) the chain could retrieve as front matter only and points at `pubmed_fetch_articles` for the abstract. A table returned with no cell values names the affected table(s), the article each came from, and why the cells cannot be recovered. A budgeted response names the characters returned versus carried and points at `truncation`. A response-wide budget that deferred articles names the ids to re-request. Absent when none of those applies."
    • addedOutput schema / properties / truncation / properties / articles / items / properties / omittedAssetNames
      Added value: +{
      +  "description": "The dropped assets by name, in document order — each asset's label, else its `id`, else `asset <n>` for its position in the article. Contiguous for the same reason `omittedTableNames` is: admission stops at the first asset that did not fit rather than skipping ahead to a smaller one. Absent when none were dropped.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / truncation / properties / articles / items / properties / omittedAssets
      Added value: +{
      +  "description": "Figures and supplementary items this article dropped whole because the budget left no room once sections and tables were served. An asset is never returned with a truncated caption, so it is either returned complete or counted here. Absent when none were dropped.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / truncation / properties / articles / items / properties / omittedTableNames
      Added value: +{
      +  "description": "The dropped tables by name, in document order — each table's label, else its `id`, else `table <n>` for its position in the article. Names the tables a bare count only hints at, the way `deferred.ids` names deferred articles. Every table from the first that did not fit onward is here: admission stops at that table rather than skipping ahead to a smaller one, so these are contiguous. Absent when none were dropped.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / truncation / properties / articles / items / properties / omittedTables
      Added value: +{
      +  "description": "Tables this article dropped whole because the budget left no room for them. A table is never cut mid-row, so it is either returned complete or counted here. Absent when none were dropped.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / truncation / properties / omittedAssets
      Added value: +{
      +  "description": "Figures and supplementary items dropped whole across every budgeted article, because the budget left no room once body sections and tables were served. Absent when none were dropped. Re-request the affected articles with a higher `maxCharacters`, or with `sections` narrowed, to receive them.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / truncation / properties / omittedTables
      Added value: +{
      +  "description": "Tables dropped whole across every budgeted article, because the budget left no room once body sections were served. Absent when none were dropped. Re-request the affected articles with a higher `maxCharacters`, or with `sections` narrowed, to receive them.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / unavailable / items / properties / reason / description
      Previous value: -"Why no full text was returned — the most specific signal any tier that answered reported. not-found: upstream returned no record for this ID. no-pmc-fallback-disabled: every tier was skipped (`triedTiers` is all `not-attempted`) — typically because EPMC (`EUROPEPMC_ENABLED`) and Unpaywall (`UNPAYWALL_EMAIL`) are not configured. no-epmc-fulltext: EPMC indexed the record but publishes no fullTextXML. no-body: the record was retrieved but carries front matter and abstract only, with no body sections — use `pubmed_fetch_articles` for the metadata. no-doi: no DOI to query Unpaywall. no-oa: Unpaywall has no OA copy. fetch-failed: download failed. parse-failed: extraction empty. service-error: upstream server failure (threw, timed out, or returned malformed data). A reason never means the chain ran to completion — read `unqueriedTiers` for that."New value: +"Why no full text was returned — the most specific signal any tier that answered reported. not-found: upstream returned no record for this ID. no-pmc-fallback-disabled: every tier was skipped (`triedTiers` is all `not-attempted`) — typically because EPMC (`EUROPEPMC_ENABLED`) and Unpaywall (`UNPAYWALL_EMAIL`) are not configured. no-epmc-fulltext: EPMC indexed the record but publishes no fullTextXML. no-body: the record was retrieved but carries front matter and abstract only, with no body sections — use `pubmed_fetch_articles` for the metadata. no-doi: the DOI lookup ran and this record has none, so Unpaywall could not be queried. doi-lookup-failed: the DOI lookup itself errored, so whether a DOI exists is unknown and Unpaywall was never reached — retry the request; unlike no-doi this is a transient failure, not a settled answer. no-oa: Unpaywall has no OA copy. fetch-failed: download failed. parse-failed: extraction empty. service-error: upstream server failure (threw, timed out, or returned malformed data). A reason never means the chain ran to completion — read `unqueriedTiers` for that."
    • changedOutput schema / properties / unavailable / items / properties / reason / enum
      Previous value: -[
      -  "not-found",
      -  "no-pmc-fallback-disabled",
      -  "no-epmc-fulltext",
      -  "no-body",
      -  "no-doi",
      -  "no-oa",
      -  "fetch-failed",
      -  "parse-failed",
      -  "service-error"
      -]New value: +[
      +  "not-found",
      +  "no-pmc-fallback-disabled",
      +  "no-epmc-fulltext",
      +  "no-body",
      +  "no-doi",
      +  "doi-lookup-failed",
      +  "no-oa",
      +  "fetch-failed",
      +  "parse-failed",
      +  "service-error"
      +]
    • changedOutput schema / properties / unavailable / items / properties / triedTiers / items / properties / outcome / description
      Previous value: -"Per-tier outcome. not-attempted: tier was skipped. miss: tier returned no record. no-fulltext: EPMC indexed the record but publishes no fullTextXML. no-body: the tier returned a record with front matter and abstract but no body sections, so the chain continued. no-doi: no DOI to query Unpaywall. no-oa: Unpaywall reports no open-access copy. fetch-failed: OA copy download failed. parse-failed: extraction produced empty content. service-error: tier service threw."New value: +"Per-tier outcome. not-attempted: tier was skipped. miss: tier returned no record. no-fulltext: EPMC indexed the record but publishes no fullTextXML. no-body: the tier returned a record with front matter and abstract but no body sections, so the chain continued. no-doi: the DOI lookup ran and this record has none, so Unpaywall could not be queried. doi-lookup-failed: the DOI lookup itself errored, so whether a DOI exists is unknown and Unpaywall was never reached — retry the request. no-oa: Unpaywall reports no open-access copy. fetch-failed: OA copy download failed. parse-failed: extraction produced empty content. service-error: tier service threw."
    • changedOutput schema / properties / unavailable / items / properties / triedTiers / items / properties / outcome / enum
      Previous value: -[
      -  "not-attempted",
      -  "miss",
      -  "no-fulltext",
      -  "no-body",
      -  "no-doi",
      -  "no-oa",
      -  "fetch-failed",
      -  "parse-failed",
      -  "service-error"
      -]New value: +[
      +  "not-attempted",
      +  "miss",
      +  "no-fulltext",
      +  "no-body",
      +  "no-doi",
      +  "doi-lookup-failed",
      +  "no-oa",
      +  "fetch-failed",
      +  "parse-failed",
      +  "service-error"
      +]
  6. Changed10 schema fields changedv2.10.8
    • changedInput schema / properties / maxCharacters / description
      Previous value: -"Per-article budget for body text, in characters. Counts `source=pmc` section and subsection text, or the `source=unpaywall` `content` body; titles, abstracts, identifiers, and references are never counted or shortened. Applied after `sections`, `maxSections`, and `includeReferences`, so semantic filtering is unaffected. The response-wide ceiling is this value times the number of articles returned. Omit for the full body."New value: +"Per-article budget for body text, in characters. Counts `source=pmc` section and subsection text, or the `source=unpaywall` `content` body; titles, abstracts, identifiers, and references are never counted or shortened. Applied after `sections`, `maxSections`, and `includeReferences`, so semantic filtering is unaffected. This knob alone bounds only bodies: the response-wide ceiling it implies is this value times the number of articles returned, plus every uncounted field. Use `maxResponseCharacters` for a true whole-response ceiling. Omit for the full body."
    • addedInput schema / properties / maxResponseCharacters
      Added value: +{
      +  "description": "Opt-in ceiling for the whole response, in characters — the true response-wide counterpart to the per-article `maxCharacters`. Each article is measured as the JSON record it is returned as, after every filter and the per-article body budget: title, abstract, body sections, references, identifiers, license and source metadata — every field it carries. One ledger covers all tiers, so PMC-, Europe PMC-, and Unpaywall-served articles spend the same budget. Articles are kept in response order until the next one would cross the ceiling; that article and the rest are deferred whole (never partially populated) and listed in `deferred.ids`. Response envelope fields — counts, `unavailable`, `truncation`, `deferred` itself — are not counted. Omit to return every resolved article.",
      +  "maximum": 1000000,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / articles / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "Structured JATS full-text article. `viaSource` records whether the JATS came from NCBI PMC or Europe PMC.",
      -    "properties": {
      -      "abstract": {
      -        "description": "Abstract",
      -        "type": "string"
      -      },
      -      "affiliations": {
      -        "description": "Author affiliations",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "articleType": {
      -        "description": "Article type",
      -        "type": "string"
      -      },
      -      "authors": {
      -        "description": "Authors",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Author entry",
      -          "properties": {
      -            "collectiveName": {
      -              "description": "Group name",
      -              "type": "string"
      -            },
      -            "givenNames": {
      -              "description": "Given names",
      -              "type": "string"
      -            },
      -            "lastName": {
      -              "description": "Last name",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "doi": {
      -        "description": "DOI, cased as the tier that served this record reports it (NCBI PMC, Europe PMC, or Unpaywall). DOIs are case-insensitive by spec and no case normalization is applied here, so casing can differ between tiers and from other tools — compare case-insensitively.",
      -        "type": "string"
      -      },
      -      "epmcId": {
      -        "description": "Europe PMC record id — present when `viaSource` is `europepmc`",
      -        "type": "string"
      -      },
      -      "epmcSource": {
      -        "description": "Europe PMC source code when `viaSource` is `europepmc`. Common values: `MED` (PubMed-derived), `PMC` (PMC counterpart), `PPR` (preprint), `PAT` (patent), `AGR` (Agricola), plus less common codes (`CTX`, `CBA`, `ETH`, `HIR`). Treat as opaque — EPMC may introduce new codes.",
      -        "type": "string"
      -      },
      -      "journal": {
      -        "additionalProperties": false,
      -        "description": "Journal information",
      -        "properties": {
      -          "issn": {
      -            "description": "ISSN",
      -            "type": "string"
      -          },
      -          "issue": {
      -            "description": "Issue number",
      -            "type": "string"
      -          },
      -          "pages": {
      -            "description": "Page range",
      -            "type": "string"
      -          },
      -          "title": {
      -            "description": "Journal title",
      -            "type": "string"
      -          },
      -          "volume": {
      -            "description": "Volume number",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "keywords": {
      -        "description": "Keywords",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "pmcId": {
      -        "description": "PMC ID — present for NCBI PMC records and Europe PMC entries that have a PMC counterpart. Absent for EPMC-only records like preprints; use `epmcId` in that case.",
      -        "type": "string"
      -      },
      -      "pmcUrl": {
      -        "description": "PMC URL — derived from `pmcId` when present",
      -        "type": "string"
      -      },
      -      "pmid": {
      -        "description": "PubMed ID",
      -        "type": "string"
      -      },
      -      "publicationDate": {
      -        "additionalProperties": false,
      -        "description": "Publication date",
      -        "properties": {
      -          "day": {
      -            "description": "Publication day",
      -            "type": "string"
      -          },
      -          "month": {
      -            "description": "Publication month",
      -            "type": "string"
      -          },
      -          "year": {
      -            "description": "Publication year",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "pubmedUrl": {
      -        "description": "PubMed URL",
      -        "type": "string"
      -      },
      -      "references": {
      -        "description": "Reference list",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Reference entry",
      -          "properties": {
      -            "citation": {
      -              "description": "Citation text",
      -              "type": "string"
      -            },
      -            "id": {
      -              "description": "Reference ID",
      -              "type": "string"
      -            },
      -            "label": {
      -              "description": "Reference label",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "citation"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "sections": {
      -        "description": "Article body sections",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Article body section",
      -          "properties": {
      -            "label": {
      -              "description": "Section label",
      -              "type": "string"
      -            },
      -            "subsections": {
      -              "description": "Nested subsections",
      -              "items": {
      -                "additionalProperties": false,
      -                "description": "Article subsection",
      -                "properties": {
      -                  "label": {
      -                    "description": "Subsection label",
      -                    "type": "string"
      -                  },
      -                  "text": {
      -                    "description": "Subsection body text",
      -                    "type": "string"
      -                  },
      -                  "title": {
      -                    "description": "Subsection heading",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "text"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "text": {
      -              "description": "Section body text",
      -              "type": "string"
      -            },
      -            "title": {
      -              "description": "Section heading",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "text"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "source": {
      -        "const": "pmc",
      -        "description": "Structured JATS — same DTD whether sourced from NCBI PMC or Europe PMC",
      -        "type": "string"
      -      },
      -      "title": {
      -        "description": "Article title",
      -        "type": "string"
      -      },
      -      "viaSource": {
      -        "description": "Which layer produced the JATS: `pmc` for NCBI PMC EFetch (db=pmc), `europepmc` for Europe PMC `fullTextXML`. Both paths return the same JATS shape; the discriminator records origin for observability and license attribution.",
      -        "enum": [
      -          "pmc",
      -          "europepmc"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "viaSource",
      -      "sections"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "Best-effort full text from an open-access copy",
      -    "properties": {
      -      "content": {
      -        "description": "Full article text — Markdown or plain text per `contentFormat`",
      -        "type": "string"
      -      },
      -      "contentFormat": {
      -        "description": "How `content` was extracted. html-markdown: Defuddle extracted Markdown from an HTML landing page; light section structure may survive but is not guaranteed. pdf-text: unpdf extracted plain text from a PDF; no section, reference, or heading structure.",
      -        "enum": [
      -          "html-markdown",
      -          "pdf-text"
      -        ],
      -        "type": "string"
      -      },
      -      "doi": {
      -        "description": "DOI used to locate the open-access copy",
      -        "type": "string"
      -      },
      -      "hostType": {
      -        "description": "`publisher` or `repository` — where the OA copy is hosted",
      -        "type": "string"
      -      },
      -      "license": {
      -        "description": "License identifier from Unpaywall (e.g. cc-by, cc0)",
      -        "type": "string"
      -      },
      -      "pmcId": {
      -        "description": "PMC ID this article was requested under, in `PMC<digits>` form — present for `pmcids` input, absent for `pmids` and `dois` input. Ties the article back to the requested identifier, which `unavailable[]` keys on for the ids that found nothing.",
      -        "type": "string"
      -      },
      -      "pmid": {
      -        "description": "PubMed ID when input was `pmids`; absent for `pmcids` and `dois` input",
      -        "type": "string"
      -      },
      -      "pubmedUrl": {
      -        "description": "PubMed URL — present when `pmid` is set",
      -        "type": "string"
      -      },
      -      "source": {
      -        "const": "unpaywall",
      -        "description": "Content fetched from an open-access copy indexed by Unpaywall. Best-effort — structural fidelity depends on `contentFormat`.",
      -        "type": "string"
      -      },
      -      "sourceUrl": {
      -        "description": "URL the content was fetched from",
      -        "type": "string"
      -      },
      -      "title": {
      -        "description": "Detected article title when present",
      -        "type": "string"
      -      },
      -      "totalPages": {
      -        "description": "Page count reported by the PDF extractor; absent for HTML",
      -        "type": "number"
      -      },
      -      "version": {
      -        "description": "OA version: submittedVersion | acceptedVersion | publishedVersion",
      -        "type": "string"
      -      },
      -      "viaSource": {
      -        "const": "unpaywall",
      -        "description": "Layer that produced this article. Constant `unpaywall` for this branch.",
      -        "type": "string"
      -      },
      -      "wordCount": {
      -        "description": "Approximate word count reported by the HTML extractor; absent for PDFs",
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "viaSource",
      -      "contentFormat",
      -      "doi",
      -      "sourceUrl",
      -      "content"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "Structured JATS full-text article. `viaSource` records whether the JATS came from NCBI PMC or Europe PMC.",
      +    "properties": {
      +      "abstract": {
      +        "description": "Abstract",
      +        "type": "string"
      +      },
      +      "affiliations": {
      +        "description": "Author affiliations",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "articleType": {
      +        "description": "Article type",
      +        "type": "string"
      +      },
      +      "authors": {
      +        "description": "Authors",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Author entry",
      +          "properties": {
      +            "collectiveName": {
      +              "description": "Group name",
      +              "type": "string"
      +            },
      +            "givenNames": {
      +              "description": "Given names",
      +              "type": "string"
      +            },
      +            "lastName": {
      +              "description": "Last name",
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "doi": {
      +        "description": "DOI, cased as the tier that served this record reports it (NCBI PMC, Europe PMC, or Unpaywall). DOIs are case-insensitive by spec and no case normalization is applied here, so casing can differ between tiers and from other tools — compare case-insensitively.",
      +        "type": "string"
      +      },
      +      "epmcId": {
      +        "description": "Europe PMC record id — present when `viaSource` is `europepmc`",
      +        "type": "string"
      +      },
      +      "epmcSource": {
      +        "description": "Europe PMC source code when `viaSource` is `europepmc`. Common values: `MED` (PubMed-derived), `PMC` (PMC counterpart), `PPR` (preprint), `PAT` (patent), `AGR` (Agricola), plus less common codes (`CTX`, `CBA`, `ETH`, `HIR`). Treat as opaque — EPMC may introduce new codes.",
      +        "type": "string"
      +      },
      +      "journal": {
      +        "additionalProperties": false,
      +        "description": "Journal information",
      +        "properties": {
      +          "issn": {
      +            "description": "ISSN",
      +            "type": "string"
      +          },
      +          "issue": {
      +            "description": "Issue number",
      +            "type": "string"
      +          },
      +          "pages": {
      +            "description": "Page range",
      +            "type": "string"
      +          },
      +          "title": {
      +            "description": "Journal title",
      +            "type": "string"
      +          },
      +          "volume": {
      +            "description": "Volume number",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "keywords": {
      +        "description": "Keywords",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "pmcId": {
      +        "description": "PMC ID — present for NCBI PMC records and Europe PMC entries that have a PMC counterpart. Absent for EPMC-only records like preprints; use `epmcId` in that case.",
      +        "type": "string"
      +      },
      +      "pmcUrl": {
      +        "description": "PMC URL — derived from `pmcId` when present",
      +        "type": "string"
      +      },
      +      "pmid": {
      +        "description": "PubMed ID",
      +        "type": "string"
      +      },
      +      "publicationDate": {
      +        "additionalProperties": false,
      +        "description": "Publication date",
      +        "properties": {
      +          "day": {
      +            "description": "Publication day",
      +            "type": "string"
      +          },
      +          "month": {
      +            "description": "Publication month",
      +            "type": "string"
      +          },
      +          "year": {
      +            "description": "Publication year",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "pubmedUrl": {
      +        "description": "PubMed URL",
      +        "type": "string"
      +      },
      +      "references": {
      +        "description": "Reference list",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Reference entry",
      +          "properties": {
      +            "citation": {
      +              "description": "Citation text",
      +              "type": "string"
      +            },
      +            "id": {
      +              "description": "Reference ID",
      +              "type": "string"
      +            },
      +            "label": {
      +              "description": "Reference label",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "citation"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "sections": {
      +        "description": "Article body sections",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Article body section",
      +          "properties": {
      +            "label": {
      +              "description": "Section label",
      +              "type": "string"
      +            },
      +            "subsections": {
      +              "description": "Nested subsections",
      +              "items": {
      +                "additionalProperties": false,
      +                "description": "Article subsection",
      +                "properties": {
      +                  "label": {
      +                    "description": "Subsection label",
      +                    "type": "string"
      +                  },
      +                  "text": {
      +                    "description": "Subsection body text. Sections nested deeper than this level are folded in here in document order, each heading rendered on its own line above its text.",
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "description": "Subsection heading",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "text"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "text": {
      +              "description": "Section body text",
      +              "type": "string"
      +            },
      +            "title": {
      +              "description": "Section heading",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "text"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "source": {
      +        "const": "pmc",
      +        "description": "Structured JATS — same DTD whether sourced from NCBI PMC or Europe PMC",
      +        "type": "string"
      +      },
      +      "title": {
      +        "description": "Article title",
      +        "type": "string"
      +      },
      +      "viaSource": {
      +        "description": "Which layer produced the JATS: `pmc` for NCBI PMC EFetch (db=pmc), `europepmc` for Europe PMC `fullTextXML`. Both paths return the same JATS shape; the discriminator records origin for observability and license attribution.",
      +        "enum": [
      +          "pmc",
      +          "europepmc"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "viaSource",
      +      "sections"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "Best-effort full text from an open-access copy",
      +    "properties": {
      +      "content": {
      +        "description": "Full article text — Markdown or plain text per `contentFormat`",
      +        "type": "string"
      +      },
      +      "contentFormat": {
      +        "description": "How `content` was extracted. html-markdown: Defuddle extracted Markdown from an HTML landing page; light section structure may survive but is not guaranteed. pdf-text: unpdf extracted plain text from a PDF; no section, reference, or heading structure.",
      +        "enum": [
      +          "html-markdown",
      +          "pdf-text"
      +        ],
      +        "type": "string"
      +      },
      +      "doi": {
      +        "description": "DOI used to locate the open-access copy",
      +        "type": "string"
      +      },
      +      "hostType": {
      +        "description": "`publisher` or `repository` — where the OA copy is hosted",
      +        "type": "string"
      +      },
      +      "license": {
      +        "description": "License identifier from Unpaywall (e.g. cc-by, cc0)",
      +        "type": "string"
      +      },
      +      "pmcId": {
      +        "description": "PMC ID this article was requested under, in `PMC<digits>` form — present for `pmcids` input, absent for `pmids` and `dois` input. Ties the article back to the requested identifier, which `unavailable[]` keys on for the ids that found nothing.",
      +        "type": "string"
      +      },
      +      "pmid": {
      +        "description": "PubMed ID when input was `pmids`; absent for `pmcids` and `dois` input",
      +        "type": "string"
      +      },
      +      "pubmedUrl": {
      +        "description": "PubMed URL — present when `pmid` is set",
      +        "type": "string"
      +      },
      +      "source": {
      +        "const": "unpaywall",
      +        "description": "Content fetched from an open-access copy indexed by Unpaywall. Best-effort — structural fidelity depends on `contentFormat`.",
      +        "type": "string"
      +      },
      +      "sourceUrl": {
      +        "description": "URL the content was fetched from",
      +        "type": "string"
      +      },
      +      "title": {
      +        "description": "Detected article title when present",
      +        "type": "string"
      +      },
      +      "totalPages": {
      +        "description": "Page count reported by the PDF extractor; absent for HTML",
      +        "type": "number"
      +      },
      +      "version": {
      +        "description": "OA version: submittedVersion | acceptedVersion | publishedVersion",
      +        "type": "string"
      +      },
      +      "viaSource": {
      +        "const": "unpaywall",
      +        "description": "Layer that produced this article. Constant `unpaywall` for this branch.",
      +        "type": "string"
      +      },
      +      "wordCount": {
      +        "description": "Approximate word count reported by the HTML extractor; absent for PDFs",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "viaSource",
      +      "contentFormat",
      +      "doi",
      +      "sourceUrl",
      +      "content"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedOutput schema / properties / deferred
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Continuation state for articles the whole-response budget withheld. Present only when `maxResponseCharacters` deferred at least one article.",
      +  "properties": {
      +    "deferredCount": {
      +      "description": "Articles the chain resolved but withheld to stay under the ceiling",
      +      "type": "number"
      +    },
      +    "idType": {
      +      "description": "Which input branch the deferred ids belong to — re-submit them as `pmids`, `pmcids`, or `dois` respectively. Matches the `idType` on `unavailable` entries.",
      +      "enum": [
      +        "pmid",
      +        "pmcid",
      +        "doi"
      +      ],
      +      "type": "string"
      +    },
      +    "ids": {
      +      "description": "Identifiers of the deferred articles, in response order, keyed as they were requested (PMC IDs in `PMC<digits>` form). Re-call `pubmed_fetch_fulltext` with these under the `idType` branch and the same other inputs. Never contains an id from `unavailable`.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "maxResponseCharacters": {
      +      "description": "The `maxResponseCharacters` ceiling this response was budgeted against",
      +      "type": "number"
      +    },
      +    "nextDeferredCharacters": {
      +      "description": "Serialized size of the next deferred article — the first entry in `ids`, where the response stopped. Raise `maxResponseCharacters` to at least this to make progress; a smaller article further down `ids` cannot be reached until this one fits.",
      +      "type": "number"
      +    },
      +    "returnedCharacters": {
      +      "description": "Serialized characters the returned article records account for",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "maxResponseCharacters",
      +    "returnedCharacters",
      +    "deferredCount",
      +    "idType",
      +    "ids",
      +    "nextDeferredCharacters"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / notice / description
      Previous value: -"Optional guidance for a partial or empty body. A `sections`-filter miss names the requested terms and affected article id(s) and suggests retrying without `sections` or using broader headings. A metadata-only record names the id(s) the chain could retrieve as front matter only and points at `pubmed_fetch_articles` for the abstract. A budgeted response names the characters returned versus carried and points at `truncation`. Absent when none of those applies."New value: +"Optional guidance for a partial or empty body. A `sections`-filter miss names the requested terms and affected article id(s) and suggests retrying without `sections` or using broader headings. A metadata-only record names the id(s) the chain could retrieve as front matter only and points at `pubmed_fetch_articles` for the abstract. A budgeted response names the characters returned versus carried and points at `truncation`. A response-wide budget that deferred articles names the ids to re-request. Absent when none of those applies."
    • changedOutput schema / properties / totalReturned / description
      Previous value: -"Number of articles returned"New value: +"Number of articles in this response. Under a `maxResponseCharacters` budget this counts the kept articles only; `deferred.deferredCount` covers the rest."
    • changedOutput schema / properties / truncated / description
      Previous value: -"True when a character budget shortened at least one returned body. Absent when every returned article carries its full post-filter body. The per-article accounting is in `truncation`."New value: +"True when a character budget shortened at least one returned body, or withheld a whole article. Absent when every resolved article is present with its full post-filter body. The per-article body accounting is in `truncation`; the withheld ids are in `deferred`."
    • changedOutput schema / properties / unavailable / description
      Previous value: -"Per-identifier explanations for any requested PMIDs, PMCIDs, or DOIs with no returnable full text. `idType` discriminates which branch the id came from."New value: +"Per-identifier explanations for any requested PMIDs, PMCIDs, or DOIs with no returnable full text. `idType` discriminates which branch the id came from. Distinct from `deferred`: nothing here is retrievable by re-calling, and an id never appears in both."
    • changedOutput schema / properties / unavailable / items / properties / reason / description
      Previous value: -"Why no full text was returned. not-found: upstream returned no record for this ID. no-pmc-fallback-disabled: every tier was skipped (`triedTiers` is all `not-attempted`) — typically because EPMC (`EUROPEPMC_ENABLED`) and Unpaywall (`UNPAYWALL_EMAIL`) are not configured. no-epmc-fulltext: EPMC indexed the record but publishes no fullTextXML. no-body: the record was retrieved but carries front matter and abstract only, with no body sections — use `pubmed_fetch_articles` for the metadata. no-doi: no DOI to query Unpaywall. no-oa: Unpaywall has no OA copy. fetch-failed: download failed. parse-failed: extraction empty. service-error: upstream server failure (threw, timed out, or returned malformed data)."New value: +"Why no full text was returned — the most specific signal any tier that answered reported. not-found: upstream returned no record for this ID. no-pmc-fallback-disabled: every tier was skipped (`triedTiers` is all `not-attempted`) — typically because EPMC (`EUROPEPMC_ENABLED`) and Unpaywall (`UNPAYWALL_EMAIL`) are not configured. no-epmc-fulltext: EPMC indexed the record but publishes no fullTextXML. no-body: the record was retrieved but carries front matter and abstract only, with no body sections — use `pubmed_fetch_articles` for the metadata. no-doi: no DOI to query Unpaywall. no-oa: Unpaywall has no OA copy. fetch-failed: download failed. parse-failed: extraction empty. service-error: upstream server failure (threw, timed out, or returned malformed data). A reason never means the chain ran to completion — read `unqueriedTiers` for that."
    • addedOutput schema / properties / unavailable / items / properties / unqueriedTiers
      Added value: +{
      +  "description": "Tiers the chain skipped because this deployment has not configured them, and that could have served this id — the search was incomplete, and a deployment with these tiers configured may still resolve the id. `triedTiers` carries which environment variable each one is waiting on. Absent when every tier that could have served the id was actually queried; a tier skipped because it was inapplicable to this id (no DOI for Unpaywall) is never listed.",
      +  "items": {
      +    "description": "A fallback tier this deployment has not configured",
      +    "enum": [
      +      "europepmc",
      +      "unpaywall"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  7. Changed7 schema fields changedv2.10.4
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "articles",
      +      "totalReturned"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Present when the call failed. Absent on success.",
      +  "properties": {
      +    "code": {
      +      "description": "JSON-RPC error code for this failure.",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "data": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "reason": {
      +          "description": "Machine-readable failure mode. Declared by this tool: `queue_full`: Local NCBI request queue is at capacity. `ncbi_unreachable`: NCBI E-utilities is unreachable after all retry attempts. `ncbi_deadline_exceeded`: Total request deadline expired before NCBI returned a response. `ncbi_invalid_response`: NCBI returned a body that could not be parsed (invalid XML/JSON). `ncbi_resource_not_found`: NCBI returned a structured \"not found\" error for the requested ID(s). `unpaywall_unreachable`: Unpaywall was unreachable when resolving a DOI or fetching content. `europepmc_unreachable`: Europe PMC was unreachable after all retry attempts. `europepmc_invalid_response`: Europe PMC returned a body that could not be parsed (invalid JSON or XML). `europepmc_invalid_input`: Europe PMC rejected the request input (empty query, unknown sort field, malformed parameter). Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "queue_full",
      +            "ncbi_unreachable",
      +            "ncbi_deadline_exceeded",
      +            "ncbi_invalid_response",
      +            "ncbi_resource_not_found",
      +            "unpaywall_unreachable",
      +            "europepmc_unreachable",
      +            "europepmc_invalid_response",
      +            "europepmc_invalid_input"
      +          ],
      +          "type": "string"
      +        },
      +        "recovery": {
      +          "additionalProperties": {},
      +          "description": "Actionable next step for the caller.",
      +          "properties": {
      +            "hint": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hint"
      +          ],
      +          "type": "object"
      +        },
      +        "retryable": {
      +          "description": "Whether retrying may succeed.",
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "message": {
      +      "description": "Human-readable description of what went wrong.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "description": "True when a character budget shortened at least one returned body. Absent when every returned article carries its full post-filter body. The per-article accounting is in `truncation`.",
      +  "type": "boolean"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "articles",
      -  "totalReturned"
      -]
  8. Changed11 schema fields changedv2.10.2
    • addedInput schema / properties / maxCharacters
      Added value: +{
      +  "description": "Per-article budget for body text, in characters. Counts `source=pmc` section and subsection text, or the `source=unpaywall` `content` body; titles, abstracts, identifiers, and references are never counted or shortened. Applied after `sections`, `maxSections`, and `includeReferences`, so semantic filtering is unaffected. The response-wide ceiling is this value times the number of articles returned. Omit for the full body.",
      +  "maximum": 1000000,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / maxCharactersPerSection
      Added value: +{
      +  "description": "Budget for a single top-level body section, in characters, counting the section text plus its subsections. Combine with `maxCharacters` to cap both one section and the article; the tighter of the two wins. Applies to `source=pmc` results only.",
      +  "maximum": 1000000,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / overflowMode
      Added value: +{
      +  "default": "truncate",
      +  "description": "How to spend `maxCharacters` across an article that exceeds it. truncate: fill sections in document order, so early sections stay whole and sections past the budget are dropped (counted in `truncation.omittedSections`). outline: split the budget evenly so every section keeps its heading, and an excerpt as far as the budget reaches — use it to survey what an article contains before requesting specific `sections`. Ignored when no budget is set, and identical for `source=unpaywall` bodies, which have no headings to preserve.",
      +  "enum": [
      +    "truncate",
      +    "outline"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / pmcids / description
      Previous value: -"PMC IDs to fetch (e.g. [\"PMC9575052\"]). Provide exactly one of `pmcids`, `pmids`, or `dois`."New value: +"PMC IDs to fetch (e.g. [\"PMC9575052\"]). Provide exactly one of `pmcids`, `pmids`, or `dois`. PMC IDs with no retrievable full text fall through to Europe PMC, then to Unpaywall on the DOI the chain resolves for them."
    • changedOutput schema / properties / articles / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "Structured JATS full-text article. `viaSource` records whether the JATS came from NCBI PMC or Europe PMC.",
      -    "properties": {
      -      "abstract": {
      -        "description": "Abstract",
      -        "type": "string"
      -      },
      -      "affiliations": {
      -        "description": "Author affiliations",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "articleType": {
      -        "description": "Article type",
      -        "type": "string"
      -      },
      -      "authors": {
      -        "description": "Authors",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Author entry",
      -          "properties": {
      -            "collectiveName": {
      -              "description": "Group name",
      -              "type": "string"
      -            },
      -            "givenNames": {
      -              "description": "Given names",
      -              "type": "string"
      -            },
      -            "lastName": {
      -              "description": "Last name",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "doi": {
      -        "description": "DOI",
      -        "type": "string"
      -      },
      -      "epmcId": {
      -        "description": "Europe PMC record id — present when `viaSource` is `europepmc`",
      -        "type": "string"
      -      },
      -      "epmcSource": {
      -        "description": "Europe PMC source code when `viaSource` is `europepmc`. Common values: `MED` (PubMed-derived), `PMC` (PMC counterpart), `PPR` (preprint), `PAT` (patent), `AGR` (Agricola), plus less common codes (`CTX`, `CBA`, `ETH`, `HIR`). Treat as opaque — EPMC may introduce new codes.",
      -        "type": "string"
      -      },
      -      "journal": {
      -        "additionalProperties": false,
      -        "description": "Journal information",
      -        "properties": {
      -          "issn": {
      -            "description": "ISSN",
      -            "type": "string"
      -          },
      -          "issue": {
      -            "description": "Issue number",
      -            "type": "string"
      -          },
      -          "pages": {
      -            "description": "Page range",
      -            "type": "string"
      -          },
      -          "title": {
      -            "description": "Journal title",
      -            "type": "string"
      -          },
      -          "volume": {
      -            "description": "Volume number",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "keywords": {
      -        "description": "Keywords",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "pmcId": {
      -        "description": "PMC ID — present for NCBI PMC records and Europe PMC entries that have a PMC counterpart. Absent for EPMC-only records like preprints; use `epmcId` in that case.",
      -        "type": "string"
      -      },
      -      "pmcUrl": {
      -        "description": "PMC URL — derived from `pmcId` when present",
      -        "type": "string"
      -      },
      -      "pmid": {
      -        "description": "PubMed ID",
      -        "type": "string"
      -      },
      -      "publicationDate": {
      -        "additionalProperties": false,
      -        "description": "Publication date",
      -        "properties": {
      -          "day": {
      -            "description": "Publication day",
      -            "type": "string"
      -          },
      -          "month": {
      -            "description": "Publication month",
      -            "type": "string"
      -          },
      -          "year": {
      -            "description": "Publication year",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "pubmedUrl": {
      -        "description": "PubMed URL",
      -        "type": "string"
      -      },
      -      "references": {
      -        "description": "Reference list",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Reference entry",
      -          "properties": {
      -            "citation": {
      -              "description": "Citation text",
      -              "type": "string"
      -            },
      -            "id": {
      -              "description": "Reference ID",
      -              "type": "string"
      -            },
      -            "label": {
      -              "description": "Reference label",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "citation"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "sections": {
      -        "description": "Article body sections",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Article body section",
      -          "properties": {
      -            "label": {
      -              "description": "Section label",
      -              "type": "string"
      -            },
      -            "subsections": {
      -              "description": "Nested subsections",
      -              "items": {
      -                "additionalProperties": false,
      -                "description": "Article subsection",
      -                "properties": {
      -                  "label": {
      -                    "description": "Subsection label",
      -                    "type": "string"
      -                  },
      -                  "text": {
      -                    "description": "Subsection body text",
      -                    "type": "string"
      -                  },
      -                  "title": {
      -                    "description": "Subsection heading",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "text"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "text": {
      -              "description": "Section body text",
      -              "type": "string"
      -            },
      -            "title": {
      -              "description": "Section heading",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "text"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "source": {
      -        "const": "pmc",
      -        "description": "Structured JATS — same DTD whether sourced from NCBI PMC or Europe PMC",
      -        "type": "string"
      -      },
      -      "title": {
      -        "description": "Article title",
      -        "type": "string"
      -      },
      -      "viaSource": {
      -        "description": "Which layer produced the JATS: `pmc` for NCBI PMC EFetch (db=pmc), `europepmc` for Europe PMC `fullTextXML`. Both paths return the same JATS shape; the discriminator records origin for observability and license attribution.",
      -        "enum": [
      -          "pmc",
      -          "europepmc"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "viaSource",
      -      "sections"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "Best-effort full text from an open-access copy",
      -    "properties": {
      -      "content": {
      -        "description": "Full article text — Markdown or plain text per `contentFormat`",
      -        "type": "string"
      -      },
      -      "contentFormat": {
      -        "description": "How `content` was extracted. html-markdown: Defuddle extracted Markdown from an HTML landing page; light section structure may survive but is not guaranteed. pdf-text: unpdf extracted plain text from a PDF; no section, reference, or heading structure.",
      -        "enum": [
      -          "html-markdown",
      -          "pdf-text"
      -        ],
      -        "type": "string"
      -      },
      -      "doi": {
      -        "description": "DOI used to locate the open-access copy",
      -        "type": "string"
      -      },
      -      "hostType": {
      -        "description": "`publisher` or `repository` — where the OA copy is hosted",
      -        "type": "string"
      -      },
      -      "license": {
      -        "description": "License identifier from Unpaywall (e.g. cc-by, cc0)",
      -        "type": "string"
      -      },
      -      "pmid": {
      -        "description": "PubMed ID when input was `pmids`; absent for `dois` input",
      -        "type": "string"
      -      },
      -      "pubmedUrl": {
      -        "description": "PubMed URL — present when `pmid` is set",
      -        "type": "string"
      -      },
      -      "source": {
      -        "const": "unpaywall",
      -        "description": "Content fetched from an open-access copy indexed by Unpaywall. Best-effort — structural fidelity depends on `contentFormat`.",
      -        "type": "string"
      -      },
      -      "sourceUrl": {
      -        "description": "URL the content was fetched from",
      -        "type": "string"
      -      },
      -      "title": {
      -        "description": "Detected article title when present",
      -        "type": "string"
      -      },
      -      "totalPages": {
      -        "description": "Page count reported by the PDF extractor; absent for HTML",
      -        "type": "number"
      -      },
      -      "version": {
      -        "description": "OA version: submittedVersion | acceptedVersion | publishedVersion",
      -        "type": "string"
      -      },
      -      "viaSource": {
      -        "const": "unpaywall",
      -        "description": "Layer that produced this article. Constant `unpaywall` for this branch.",
      -        "type": "string"
      -      },
      -      "wordCount": {
      -        "description": "Approximate word count reported by the HTML extractor; absent for PDFs",
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "viaSource",
      -      "contentFormat",
      -      "doi",
      -      "sourceUrl",
      -      "content"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "Structured JATS full-text article. `viaSource` records whether the JATS came from NCBI PMC or Europe PMC.",
      +    "properties": {
      +      "abstract": {
      +        "description": "Abstract",
      +        "type": "string"
      +      },
      +      "affiliations": {
      +        "description": "Author affiliations",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "articleType": {
      +        "description": "Article type",
      +        "type": "string"
      +      },
      +      "authors": {
      +        "description": "Authors",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Author entry",
      +          "properties": {
      +            "collectiveName": {
      +              "description": "Group name",
      +              "type": "string"
      +            },
      +            "givenNames": {
      +              "description": "Given names",
      +              "type": "string"
      +            },
      +            "lastName": {
      +              "description": "Last name",
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "doi": {
      +        "description": "DOI, cased as the tier that served this record reports it (NCBI PMC, Europe PMC, or Unpaywall). DOIs are case-insensitive by spec and no case normalization is applied here, so casing can differ between tiers and from other tools — compare case-insensitively.",
      +        "type": "string"
      +      },
      +      "epmcId": {
      +        "description": "Europe PMC record id — present when `viaSource` is `europepmc`",
      +        "type": "string"
      +      },
      +      "epmcSource": {
      +        "description": "Europe PMC source code when `viaSource` is `europepmc`. Common values: `MED` (PubMed-derived), `PMC` (PMC counterpart), `PPR` (preprint), `PAT` (patent), `AGR` (Agricola), plus less common codes (`CTX`, `CBA`, `ETH`, `HIR`). Treat as opaque — EPMC may introduce new codes.",
      +        "type": "string"
      +      },
      +      "journal": {
      +        "additionalProperties": false,
      +        "description": "Journal information",
      +        "properties": {
      +          "issn": {
      +            "description": "ISSN",
      +            "type": "string"
      +          },
      +          "issue": {
      +            "description": "Issue number",
      +            "type": "string"
      +          },
      +          "pages": {
      +            "description": "Page range",
      +            "type": "string"
      +          },
      +          "title": {
      +            "description": "Journal title",
      +            "type": "string"
      +          },
      +          "volume": {
      +            "description": "Volume number",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "keywords": {
      +        "description": "Keywords",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "pmcId": {
      +        "description": "PMC ID — present for NCBI PMC records and Europe PMC entries that have a PMC counterpart. Absent for EPMC-only records like preprints; use `epmcId` in that case.",
      +        "type": "string"
      +      },
      +      "pmcUrl": {
      +        "description": "PMC URL — derived from `pmcId` when present",
      +        "type": "string"
      +      },
      +      "pmid": {
      +        "description": "PubMed ID",
      +        "type": "string"
      +      },
      +      "publicationDate": {
      +        "additionalProperties": false,
      +        "description": "Publication date",
      +        "properties": {
      +          "day": {
      +            "description": "Publication day",
      +            "type": "string"
      +          },
      +          "month": {
      +            "description": "Publication month",
      +            "type": "string"
      +          },
      +          "year": {
      +            "description": "Publication year",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "pubmedUrl": {
      +        "description": "PubMed URL",
      +        "type": "string"
      +      },
      +      "references": {
      +        "description": "Reference list",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Reference entry",
      +          "properties": {
      +            "citation": {
      +              "description": "Citation text",
      +              "type": "string"
      +            },
      +            "id": {
      +              "description": "Reference ID",
      +              "type": "string"
      +            },
      +            "label": {
      +              "description": "Reference label",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "citation"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "sections": {
      +        "description": "Article body sections",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Article body section",
      +          "properties": {
      +            "label": {
      +              "description": "Section label",
      +              "type": "string"
      +            },
      +            "subsections": {
      +              "description": "Nested subsections",
      +              "items": {
      +                "additionalProperties": false,
      +                "description": "Article subsection",
      +                "properties": {
      +                  "label": {
      +                    "description": "Subsection label",
      +                    "type": "string"
      +                  },
      +                  "text": {
      +                    "description": "Subsection body text",
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "description": "Subsection heading",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "text"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "text": {
      +              "description": "Section body text",
      +              "type": "string"
      +            },
      +            "title": {
      +              "description": "Section heading",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "text"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "source": {
      +        "const": "pmc",
      +        "description": "Structured JATS — same DTD whether sourced from NCBI PMC or Europe PMC",
      +        "type": "string"
      +      },
      +      "title": {
      +        "description": "Article title",
      +        "type": "string"
      +      },
      +      "viaSource": {
      +        "description": "Which layer produced the JATS: `pmc` for NCBI PMC EFetch (db=pmc), `europepmc` for Europe PMC `fullTextXML`. Both paths return the same JATS shape; the discriminator records origin for observability and license attribution.",
      +        "enum": [
      +          "pmc",
      +          "europepmc"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "viaSource",
      +      "sections"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "Best-effort full text from an open-access copy",
      +    "properties": {
      +      "content": {
      +        "description": "Full article text — Markdown or plain text per `contentFormat`",
      +        "type": "string"
      +      },
      +      "contentFormat": {
      +        "description": "How `content` was extracted. html-markdown: Defuddle extracted Markdown from an HTML landing page; light section structure may survive but is not guaranteed. pdf-text: unpdf extracted plain text from a PDF; no section, reference, or heading structure.",
      +        "enum": [
      +          "html-markdown",
      +          "pdf-text"
      +        ],
      +        "type": "string"
      +      },
      +      "doi": {
      +        "description": "DOI used to locate the open-access copy",
      +        "type": "string"
      +      },
      +      "hostType": {
      +        "description": "`publisher` or `repository` — where the OA copy is hosted",
      +        "type": "string"
      +      },
      +      "license": {
      +        "description": "License identifier from Unpaywall (e.g. cc-by, cc0)",
      +        "type": "string"
      +      },
      +      "pmcId": {
      +        "description": "PMC ID this article was requested under, in `PMC<digits>` form — present for `pmcids` input, absent for `pmids` and `dois` input. Ties the article back to the requested identifier, which `unavailable[]` keys on for the ids that found nothing.",
      +        "type": "string"
      +      },
      +      "pmid": {
      +        "description": "PubMed ID when input was `pmids`; absent for `pmcids` and `dois` input",
      +        "type": "string"
      +      },
      +      "pubmedUrl": {
      +        "description": "PubMed URL — present when `pmid` is set",
      +        "type": "string"
      +      },
      +      "source": {
      +        "const": "unpaywall",
      +        "description": "Content fetched from an open-access copy indexed by Unpaywall. Best-effort — structural fidelity depends on `contentFormat`.",
      +        "type": "string"
      +      },
      +      "sourceUrl": {
      +        "description": "URL the content was fetched from",
      +        "type": "string"
      +      },
      +      "title": {
      +        "description": "Detected article title when present",
      +        "type": "string"
      +      },
      +      "totalPages": {
      +        "description": "Page count reported by the PDF extractor; absent for HTML",
      +        "type": "number"
      +      },
      +      "version": {
      +        "description": "OA version: submittedVersion | acceptedVersion | publishedVersion",
      +        "type": "string"
      +      },
      +      "viaSource": {
      +        "const": "unpaywall",
      +        "description": "Layer that produced this article. Constant `unpaywall` for this branch.",
      +        "type": "string"
      +      },
      +      "wordCount": {
      +        "description": "Approximate word count reported by the HTML extractor; absent for PDFs",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "viaSource",
      +      "contentFormat",
      +      "doi",
      +      "sourceUrl",
      +      "content"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / properties / notice / description
      Previous value: -"Optional guidance when a `sections` filter removed every body section — names the requested section terms and the affected article id(s), and suggests retrying without `sections` or using broader headings. Absent when no section filter was applied or sections matched."New value: +"Optional guidance for a partial or empty body. A `sections`-filter miss names the requested terms and affected article id(s) and suggests retrying without `sections` or using broader headings. A metadata-only record names the id(s) the chain could retrieve as front matter only and points at `pubmed_fetch_articles` for the abstract. A budgeted response names the characters returned versus carried and points at `truncation`. Absent when none of those applies."
    • addedOutput schema / properties / truncation
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Character accounting for full text the budget shortened. Present only when a budget actually removed characters — its absence means every returned article carries its full post-filter body.",
      +  "properties": {
      +    "articles": {
      +      "description": "Per-article accounting, covering only the articles the budget shortened",
      +      "items": {
      +        "additionalProperties": false,
      +        "description": "Character accounting for one article the budget shortened",
      +        "properties": {
      +          "id": {
      +            "description": "Identifier for the article — PMCID, PMID, DOI, or Europe PMC id, whichever the article carries first",
      +            "type": "string"
      +          },
      +          "originalCharacters": {
      +            "description": "Body characters this article carried before the budget pass",
      +            "type": "number"
      +          },
      +          "returnedCharacters": {
      +            "description": "Body characters this article carries in the response",
      +            "type": "number"
      +          },
      +          "sections": {
      +            "description": "Per-section accounting for `source: pmc` articles, in document order, including sections dropped for budget. Absent for `source: unpaywall`, whose body has no section structure.",
      +            "items": {
      +              "additionalProperties": false,
      +              "description": "Character accounting for one body section of a budgeted article",
      +              "properties": {
      +                "originalCharacters": {
      +                  "description": "Body characters this section carried before the budget pass",
      +                  "type": "number"
      +                },
      +                "returnedCharacters": {
      +                  "description": "Body characters this section carries in the response. Zero means the section was dropped in `truncate` mode, or kept as a heading-only entry in `outline` mode.",
      +                  "type": "number"
      +                },
      +                "title": {
      +                  "description": "Section heading, when the section carries one",
      +                  "type": "string"
      +                },
      +                "truncated": {
      +                  "description": "True when the section returned fewer characters than it originally carried",
      +                  "type": "boolean"
      +                }
      +              },
      +              "required": [
      +                "originalCharacters",
      +                "returnedCharacters",
      +                "truncated"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "source": {
      +            "description": "Which output shape was budgeted: `pmc` budgets body sections and subsections, `unpaywall` budgets the single `content` body",
      +            "enum": [
      +              "pmc",
      +              "unpaywall"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "source",
      +          "originalCharacters",
      +          "returnedCharacters"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "maxCharacters": {
      +      "description": "The `maxCharacters` budget applied, when set",
      +      "type": "number"
      +    },
      +    "maxCharactersPerSection": {
      +      "description": "The `maxCharactersPerSection` budget applied, when set",
      +      "type": "number"
      +    },
      +    "mode": {
      +      "description": "The `overflowMode` that produced these results",
      +      "enum": [
      +        "truncate",
      +        "outline"
      +      ],
      +      "type": "string"
      +    },
      +    "omittedSections": {
      +      "description": "Body sections dropped entirely because an article budget was exhausted before reaching them. Always 0 in `outline` mode, which keeps every heading.",
      +      "type": "number"
      +    },
      +    "originalCharacters": {
      +      "description": "Body characters the shortened articles carried before the budget pass",
      +      "type": "number"
      +    },
      +    "returnedCharacters": {
      +      "description": "Body characters the shortened articles carry in this response",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "mode",
      +    "originalCharacters",
      +    "returnedCharacters",
      +    "omittedSections",
      +    "articles"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / unavailable / items / properties / reason / description
      Previous value: -"Why no full text was returned. not-found: upstream returned no record for this ID. no-pmc-fallback-disabled: every tier was skipped (`triedTiers` is all `not-attempted`) — typically because EPMC (`EUROPEPMC_ENABLED`) and Unpaywall (`UNPAYWALL_EMAIL`) are not configured. no-epmc-fulltext: EPMC indexed the record but publishes no fullTextXML. no-doi: no DOI to query Unpaywall. no-oa: Unpaywall has no OA copy. fetch-failed: download failed. parse-failed: extraction empty. service-error: upstream server failure (threw, timed out, or returned malformed data)."New value: +"Why no full text was returned. not-found: upstream returned no record for this ID. no-pmc-fallback-disabled: every tier was skipped (`triedTiers` is all `not-attempted`) — typically because EPMC (`EUROPEPMC_ENABLED`) and Unpaywall (`UNPAYWALL_EMAIL`) are not configured. no-epmc-fulltext: EPMC indexed the record but publishes no fullTextXML. no-body: the record was retrieved but carries front matter and abstract only, with no body sections — use `pubmed_fetch_articles` for the metadata. no-doi: no DOI to query Unpaywall. no-oa: Unpaywall has no OA copy. fetch-failed: download failed. parse-failed: extraction empty. service-error: upstream server failure (threw, timed out, or returned malformed data)."
    • changedOutput schema / properties / unavailable / items / properties / reason / enum
      Previous value: -[
      -  "not-found",
      -  "no-pmc-fallback-disabled",
      -  "no-epmc-fulltext",
      -  "no-doi",
      -  "no-oa",
      -  "fetch-failed",
      -  "parse-failed",
      -  "service-error"
      -]New value: +[
      +  "not-found",
      +  "no-pmc-fallback-disabled",
      +  "no-epmc-fulltext",
      +  "no-body",
      +  "no-doi",
      +  "no-oa",
      +  "fetch-failed",
      +  "parse-failed",
      +  "service-error"
      +]
    • changedOutput schema / properties / unavailable / items / properties / triedTiers / items / properties / outcome / description
      Previous value: -"Per-tier outcome. not-attempted: tier was skipped. miss: tier returned no record. no-fulltext: EPMC indexed the record but publishes no fullTextXML. no-doi: no DOI to query Unpaywall. no-oa: Unpaywall reports no open-access copy. fetch-failed: OA copy download failed. parse-failed: extraction produced empty content. service-error: tier service threw."New value: +"Per-tier outcome. not-attempted: tier was skipped. miss: tier returned no record. no-fulltext: EPMC indexed the record but publishes no fullTextXML. no-body: the tier returned a record with front matter and abstract but no body sections, so the chain continued. no-doi: no DOI to query Unpaywall. no-oa: Unpaywall reports no open-access copy. fetch-failed: OA copy download failed. parse-failed: extraction produced empty content. service-error: tier service threw."
    • changedOutput schema / properties / unavailable / items / properties / triedTiers / items / properties / outcome / enum
      Previous value: -[
      -  "not-attempted",
      -  "miss",
      -  "no-fulltext",
      -  "no-doi",
      -  "no-oa",
      -  "fetch-failed",
      -  "parse-failed",
      -  "service-error"
      -]New value: +[
      +  "not-attempted",
      +  "miss",
      +  "no-fulltext",
      +  "no-body",
      +  "no-doi",
      +  "no-oa",
      +  "fetch-failed",
      +  "parse-failed",
      +  "service-error"
      +]
  9. Changed1 schema field changedv2.9.8
    • addedOutput schema / properties / notice
      Added value: +{
      +  "description": "Optional guidance when a `sections` filter removed every body section — names the requested section terms and the affected article id(s), and suggests retrying without `sections` or using broader headings. Absent when no section filter was applied or sections matched.",
      +  "type": "string"
      +}
  10. Changed1 schema field changedv2.9.1
    • changedInput schema / properties / dois / description
      Previous value: -"DOIs to resolve (e.g. [\"10.21203/rs.3.rs-9010375/v1\"]). Provide exactly one of `pmcids`, `pmids`, or `dois`. Covers preprints and EPMC-only OA records that lack PMID/PMCID. Chain: Europe PMC search-by-DOI → fullTextXML → Unpaywall."New value: +"DOIs to resolve (e.g. [\"10.21203/rs.3.rs-9010375/v1\"]). Provide exactly one of `pmcids`, `pmids`, or `dois`. Resolved to a PMCID via the PMC ID Converter and returned as structured JATS when the article is in PMC; DOIs with no PMC counterpart (preprints, EPMC-only OA) fall through to Europe PMC, then Unpaywall, when those layers are enabled."
  11. Addedv2.7.6
  12. Removedv2.7.4
  13. Addedv2.3.2

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare readOnlyHint and openWorldHint; the description carries far more: the transparent Europe PMC/Unpaywall fallback, the 50-identifier cap with 10 per call and overLimit, deduplication of multiply-named articles, and the deferred.ids deferral contract. It also discloses the truncation/omission bookkeeping fields, which is exactly the kind of behavior an agent needs to plan follow-up calls.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense paragraph, front-loaded with the what and where before the identifier mechanics and the two budget controls. Every clause is substantive, but the run-on construction and sheer density make it slower to parse than it needs to be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present and annotations covering safety, the description need only add operational context, and it does: source chain, identifier limits, fallback behavior, budget semantics, and the deferral/overflow bookkeeping. Nothing an agent needs to invoke this correctly appears to be missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine cross-parameter semantics the schema cannot express: identifiers are combinable up to 50 distinct values with only the first 10 fetched per call, and that the two character budgets are independent controls. This is value beyond the per-field descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Fetch full-text articles from PubMed Central as structured sections') and enumerates what is returned (body, back matter, tables, references). It is clearly distinguishable from the sibling pubmed_fetch_articles (abstract-level) and pubmed_europepmc_fetch by naming the PMC source and the Europe PMC fallback.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives strong context: the fallback chain when PMC misses, and the four identifier modes (pmcids/pmids/dois/mix). However, it never explicitly says when to prefer this over pubmed_fetch_articles or pubmed_europepmc_fetch, so the agent must infer the alternative from the sibling name rather than from stated guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.