Create a Page
create_pageCreate one new Page beneath an existing main-tree parent. This never edits or upserts an existing Page. Read the parent first and pass its exact current revision.
A Page is a home for a subject; Data is evidence. When your work needed an understanding the tree has no home for — you pieced it together from scattered sources, or anyone in the company would expect to find it here — propose the Page: a specific title and the purpose it should serve. The body is optional. Write one, with a supporting quote for every Data source it cites, when you already hold the understanding; otherwise leave it out and the Editor writes it from the sources. The purpose is a request: an automatic Architect pass reviews every new Page within minutes and adopts or adjusts its purpose, or renames, moves, merges or deletes it. For a finding or fact the company should keep as evidence, use save_data instead.
Search the tree for the subject before creating anything. A Page that restates one already here is usually merged away again, and the member sees the section they asked for dissolve. Where an existing Page already covers the subject, say which one and offer the alternatives before creating a second: extend it with edit_page, or move_page it to where the member wants it. Name the overlap even when you go ahead and create — an explicit "add a page about X" is an instruction to obey, not a reason to leave the member unaware that X already has a Page, and staying silent is how a section gets built beside the one it duplicates. Create anyway if they say so — someone who has already weighed the overlap must not be argued with — and create without ceremony when nothing covers the subject.
A Page you create is not yours once made: it stays modifiable, mergeable and removable by that curation pass like any other Page unless a member locks it. So when you create a branch because a member asked for one, offer to structure-lock it with set_lock: that is what keeps the name, place and shape they chose from being tidied into the rest of the tree. A locked branch also stops receiving new Pages automatically, which is part of the choice they are making. Offer it; never decide it for them.
Pensieve references and citations
Pensieve reads return internal references as ordinary Markdown links such as
[display](https://…/r/CONTEXT/data/ID); the trailing number is that node's
id — the data_id the citation entries below take. Keep those links
exactly when writing Page prose; the server converts trusted links for the
target context back to its canonical stored form. Correction links and
detached passage links are not storable and are rejected; copy source-image
blocks whole. Do not write bare ids or wikilinks. Foreign links stay external;
cross-context links are rejected.
For every non-image Data link you add, or whose sentence you write or change,
include one or more {"data_id": ID, "quote": "…"} citation entries. Each quote
must be a short, exact, contiguous passage copied from that Data read and must
directly support the claim. edit_page carries the citations in prose it
leaves as it stands; entries for a source replace its stored quotes. Include no
citation entry for a Data node the body does not cite.
Archived Data cannot ground a current-state claim; cite the replacement the
error names. Page identity comes directly from trusted same-context resolver
links, so MCP callers do not send Pensieve's internal page_refs sidecar.
Source images and their adjacent source links may be copied back as returned;
they do not require a quote entry. Omit citations when no quote entries are
needed; missing quotes for Data links and unused entries are rejected.
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": {
"parent_id": "<parent_id>",
"parent_expected_rev": "<parent_expected_rev>",
"title": "<title>",
"context_id": "<context_id>"
},
"name": "create_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional complete Markdown body. Omit it to propose the Page by title and purpose; the Editor then writes it from the sources. | |
| title | Yes | Specific title for the new child Page. | |
| purpose | No | What the Page should cover and the question it answers, in a sentence or two (at most 500 characters). Required when body is omitted. A request the Architect adopts or adjusts, not prose readers see. | |
| citations | No | Complete evidence quote sidecar as {data_id, quote} entries for every non-image Data reference in body; omit when none need quotes. Each quote is copied verbatim from that Data node. Missing or unused entries are rejected. | |
| parent_id | Yes | Positive serial id of the existing parent Page. | |
| context_id | Yes | The destination context id from list_contexts. Required for writes. | |
| parent_expected_rev | Yes | Exact parent revision returned by the latest Page read. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rev | Yes | ||
| url | No | Opens the written Page; for an edit, the History version it produced. | |
| kind | Yes | ||
| title | Yes | ||
| page_id | Yes | ||
| tree_id | Yes | ||
| warning | No | ||
| changeset_id | Yes | ||
| context_run_id | Yes | ||
| affected_page_ids | No | ||
| changeset_sequence | Yes | ||
| collaboration_reloaded | No |