get_page
Fetch one Markdown page by id. Returns its body, its revision — pass that as baseRevision when replacing the whole body — its language, who edited it last, and its URL in the app, which only members of this workspace can open.
Instructions
Fetch one Markdown page by id. Returns its body, its revision — pass that as baseRevision when replacing the whole body — its language, who edited it last, and its URL in the app, which only members of this workspace can open. To let somebody outside the workspace read it, a person in the workspace opens the page in DiagramZu and uses its Share button, which mints a public read-only link. For a long document prefer outline: true (the heading tree, with an anchor per heading) and then section: '<heading text or anchor>' for just the part you need.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Page UUID | |
| space | No | Which workspace to act in: its id, its slug, or its exact name (case-insensitive). Omit to use this token's default workspace. Call list_spaces to see what this token can reach. A name that matches more than one workspace is refused — pass the id or slug instead. | |
| outline | No | Return only the heading tree — level, text and an anchor per heading — instead of the body. Use this first on a long page, then ask for one section. | |
| section | No | Return only one section: a heading's exact text, or the anchor that `outline` printed for it. The section runs from that heading to the next heading of the same or a higher level, so sub-headings come with it. A heading text that fits more than one heading is refused — pass its anchor instead. |