Get Article Sections
get_article_sectionsSection outline of a Wikipedia article by title, the table-of-contents. Returns all headings + hierarchy (H2, H3, etc.) without the prose. Use when the article is long (history, science topics, biographies) and you want to navigate to a specific section vs reading the entire summary. Chain with get_article_summary for the lead text. Cheap, structural-only.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "World War II"
},
"name": "get_article_sections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Wikipedia article title (e.g., "World War II") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Article title | |
| pageid | Yes | Wikipedia page ID | |
| sections | Yes | Array of section headings with hierarchy |