Get a wiki page
wiki_get_pageFetches a single wiki page by numeric ID or path with locale, providing metadata and markdown source. Includes updatedAt timestamp to support safe, conflict-free updates.
Instructions
Fetch a single ok-wiki page — by numeric id or by path (plus locale) — with its metadata and markdown source. The returned updatedAt is the conflict checkout stamp: pass this page to wiki_update_page promptly rather than editing against a stale read. contentTruncated: true means the body was cut at WIKI_MAX_CONTENT_BYTES and is not the full page. Single-page reads require the manage:pages permission, and content requires read:source, on the API key's group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Numeric page id. Provide exactly one of `id` or `path`, never both. | |
| path | No | Page path, e.g. "projects/my-page". Provide exactly one of `id` or `path`, never both. The path locates the page together with `locale`; it never moves anything. | |
| locale | No | Locale used for path lookup (default: the configured WIKI_LOCALE, "en"). Only meaningful together with `path`. | en |
| includeContent | No | Include the markdown source in the result (default true). Set false for a metadata-only read; the result then omits `content` entirely. |