Get a NEON document
neon_get_documentRetrieve metadata and optional text of NEON documents (ATBD, protocol, user guide) by spec number or document URL, including type, size, and referenced products.
Instructions
Metadata of a NEON document (ATBD, protocol, user guide) by spec number or documents URL: type, size, file name, description and the products that reference it; optionally its text, extracted in memory and paged by character offset. No token. Next: page through text with char_offset, or call neon_download_files(spec_number=...) on stdio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A https://data.neonscience.org/api/v0/documents/... URL. | |
| pages | No | PDF pages to extract, e.g. '1-5' or '3'. | |
| product | No | Check the document belongs to this product (code or name). | |
| max_chars | No | ||
| char_offset | No | ||
| spec_number | No | Document number, e.g. NEON.DOC.000780vD. | |
| extract_text | No | Extract the text (PDF via pypdf; needs neon-mcp[pdf]). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| size | No | ||
| text | No | ||
| notes | No | ||
| pages | No | ||
| source | No | ||
| filename | No | ||
| resolved | No | ||
| specType | No | ||
| nextSteps | No | ||
| pageCount | No | ||
| charsTotal | No | ||
| specNumber | Yes | ||
| contentType | No | ||
| textTruncated | No | ||
| nextCharOffset | No | ||
| specDescription | No | ||
| referencedByProducts | No |