Edit a page
edit_pageEdit an existing Radix Wiki page. Requires a ROLA bearer token; see https://radix.wiki/AGENTS.md. Read the page with get_page and blocks: true, send the full revised block array, and pass its version as baseVersion: an edit made after someone else's is refused rather than written over it, so read again and reapply. The version bump, block-level diff, and revision entry are computed server-side. Needs a wallet holding at least 20,000 $XRD (ideas 10,000). Locked and author-only pages are rejected. Earns contribution points.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Slug of the page to edit | |
| title | No | New title | |
| content | No | The full revised block array (not a patch). Omit to change only the title or metadata. | |
| newSlug | No | Move the page to this slug (an article only) | |
| tagPath | Yes | Tag path of the page to edit | |
| metadata | No | Replacement metadata object: the whole `metadata` get_page returns with `blocks: true`, revised | |
| verified | No | True when you checked the page's facts against its sources: stamps lastVerifiedAt. Send it alone to stamp without an edit. | |
| editorIds | No | User ids who may co-edit an author-only page. Applied only when the author sends it. | |
| bannerImage | No | Banner image URL; an empty string removes it | |
| baseVersion | Yes | The `version` get_page returned, which this edit starts from | |
| revisionMessage | No | What changed and why — shown in the page history. Always send one. |