Patch wiki page
wiki_patch_pageApply targeted edits to existing wiki pages: replace or append sections, prepend content, replace the body, or update frontmatter metadata, without rewriting the whole page.
Instructions
Change an existing page without rewriting it. Modes: 'replace-section' and 'append-section' (require section with the heading text), 'append', 'prepend', 'replace-body'. Omit mode to update frontmatter only. 'updated' is always refreshed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Kind of text change; omit for frontmatter-only updates. | |
| path | Yes | Path relative to the wiki root. | |
| content | No | New text; required when `mode` is set. | |
| section | No | Heading text for the section modes. | |
| frontmatter | No | Frontmatter fields to set. | |
| frontmatterMode | No | 'merge' (default) fills in, 'replace' replaces the whole header. |