Get DynaMed Article by ID
dynamed_get_articleRetrieve a full DynaMed article by ID as readable text; return only its table of contents or selected sections to focus on needed clinical content.
Instructions
Retrieve a full DynaMed article by its id, converted from HTML to readable text.
DynaMed topics are long. The recommended workflow is: dynamed_search to get the id -> call this tool with toc_only=true to see the section list -> call again with section_anchors for the sections you actually need. Read-only; nothing is modified.
Args:
article_id (string, required): e.g. "T116814"
section_anchors (string[]): return only these sections (anchors come from the table of contents)
toc_only (boolean): return metadata + table of contents only, no body text (default false)
response_format ('markdown'|'json'): output format (default 'markdown')
Returns (json format): { "id": string, "title": string, "slug": string, "metadata": object, "toc": string[], "sections": [{ "anchor": string, "title": string, "text": string }], "total_sections": number, "returned_sections": number, "truncated": boolean }
Examples:
"Summarize the treatment section of this topic" -> toc_only=true, then section_anchors=["treatment"]
"Give me the whole topic" -> call with no section_anchors (may be truncated)
Don't use when: you don't have an id yet -> use dynamed_search first
Error handling:
HTTP 404 means the id is wrong — take ids from dynamed_search results, never guess them
If requested anchors match nothing, the response lists the available anchors
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"article_id": "<article_id>"
},
"name": "dynamed_get_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toc_only | No | Return only metadata and the table of contents, with no section body text | |
| article_id | Yes | DynaMed article id from dynamed_search results, e.g. 'T116814' | |
| response_format | No | 'markdown' for human-readable output, 'json' for machine-readable | markdown |
| section_anchors | No | Return only these sections, by anchor. Get anchors from the table of contents (call once with toc_only=true first). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| toc | Yes | ||
| slug | No | ||
| title | No | ||
| metadata | No | ||
| sections | Yes | ||
| truncated | Yes | ||
| total_sections | Yes | ||
| returned_sections | Yes |