wikijs_update_page
Update an existing Wiki.js page by its ID. Modify title, content, tags, or publish settings. Requires mutations to be enabled.
Instructions
Update an existing page by ID. Requires WIKI_MUTATIONS_ENABLED=true. confirm is only checked when WIKI_MUTATION_CONFIRM_TOKEN is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must match WIKI_MUTATION_CONFIRM_TOKEN if set. Optional when token is not configured. | |
| id | Yes | Page ID to update. | |
| title | No | ||
| content | No | Page content in Wiki.js-flavored Markdown (when editor is "markdown"). Supports CommonMark + GFM plus Wiki.js extensions: BLOCKQUOTE STYLES — colored callout boxes: > Note text {.is-info} (blue) {.is-success} (green) {.is-warning} (yellow) {.is-danger} (red) CONTENT TABS — {.tabset} on parent heading, child headings become tabs: ## Tabs {.tabset} ### First Tab Content... ### Second Tab Content... IMAGE DIMENSIONS — append =WIDTHxHEIGHT after URL:   DIAGRAMS — mermaid or plantuml fenced code blocks. For Mermaid 8.8.2 syntax details, read the wikijs://mermaid-guide resource. TABLE STYLE — {.dense} after table for compact rendering. LIST STYLES — {.grid-list} or {.links-list} after list. TEXT — ~sub~ ^super^ <kbd>Key</kbd> ~~strike~~ FOOTNOTES — [^1] inline, [^1]: definition at bottom. DECORATE — <!-- {element:.class} --> for ambiguous targets. For the full syntax reference, read the wikijs://markdown-guide resource. | |
| description | No | ||
| path | No | ||
| locale | No | ||
| editor | No | ||
| tags | No | ||
| isPublished | No | ||
| isPrivate | No | ||
| publishStartDate | No | Publication start date (ISO 8601 format). | |
| publishEndDate | No | Publication end date (ISO 8601 format). | |
| scriptCss | No | Custom CSS for the page. Max 10,000 chars. | |
| scriptJs | No | Custom JavaScript for the page. WARNING: executes in every visitor's browser. Only use trusted code. Max 10,000 chars. |