get-page
Get a wiki page as wikitext, HTML, or metadata. Optionally retrieve only the page outline or a specific section to bypass content truncation.
Instructions
Returns a single wiki page (wikitext source, rendered HTML, or metadata only). If the title does not exist, an error is returned. Use metadata=true to retrieve the revision ID (for edit-conflict detection), page size, and section outline. Set content="none" to fetch only metadata. Large content is truncated at 50000 bytes by default with a trailing marker listing available sections; a follow-up call with section=N fetches a specific section. For more than one page at a time, use get-pages. For a specific historical revision, use get-revision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Wiki page title | |
| content | No | Type of content to return | source |
| metadata | No | Whether to include metadata (page ID, revision info, size, section outline) in the response | |
| section | No | Section number (0 = lead; 1..N = heading sections). Narrows content to one section. |