Deep Research Document
fetchRetrieve the full document text and canonical citation URL for any ID returned by search, giving direct access to readable content and the public source page.
Instructions
Returns the full document for an id obtained from search, as { id, title, text, url, metadata }: text is the readable content (Markdown) and url the canonical public page to cite.
Companion of search in the OpenAI Deep Research contract, over the medical terminologies (CID-10 categories and chapters, ICD-11, LOINC, RxNorm, MeSH, terminology version records) catalog. Only ids returned by search are valid; an unknown id returns an error.
The terminology tools (icd11_*, cid10_*, loinc_*, rxnorm_*, mesh_*, atc_*, map_*, find_equivalent, validate_codes) remain the tools for data queries.
Behavior: read-only and idempotent — a live GET against the public source when the document needs it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Identifier of a document returned by `search` |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique identifier of the document on this server; what `fetch` takes | |
| url | Yes | Canonical public URL of the document — ChatGPT's citation depends on it | |
| text | Yes | Full readable content of the document (Markdown) | |
| title | Yes | Human-readable title of the document | |
| metadata | No | Additional key/value pairs about the document (kind, source, period…) | |
| provenance | Yes | Provenance block (contract v1.0): source, URL, data vintage, extraction instant, citation, license | |
| attribution | Yes | Canonical source URLs of this response (attribution list) |