Write wiki page
wiki_write_pageCreate or overwrite a Markdown wiki page at a specified path. Missing folders are created automatically, YAML frontmatter is completed, and overwrite=true is required to replace existing files.
Instructions
Create or fully overwrite a wiki page. The path is deliberately NOT derived by the server: you choose the folder and filename. Missing folders are created automatically. Call wiki_list_folders first so the path matches the existing structure. The YAML header is completed (id, title, type, created, updated); existing fields are kept. An existing file is replaced only with overwrite=true - use wiki_patch_page for partial edits.
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": {
"path": "<path>",
"body": "<body>"
},
"name": "wiki_write_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Markdown body without the YAML header. | |
| path | Yes | Target path relative to the wiki root, including .md, e.g. 'concepts/knowledge-management/llm-wiki.md'. | |
| overwrite | No | Replace an existing file (default false). | |
| frontmatter | No | Frontmatter fields; 'updated' is always set. |