Create or edit a DAO wiki page
save_wiki_pageCreate or edit a page on a DAO's company-layer wiki. Holders only – any amount of the DAO's token, its vote token or its founder badge. Pass the body as html, one HTML string that becomes a standard content block (headings, paragraphs, lists, tables), or as blocks, the block tree the site's editor saves. To edit an existing page, read it with get_page and blocks: true on the DAO's MCP server, revise those blocks, and pass its version as baseVersion: a page someone else changed since is refused rather than overwritten. newSlug moves an existing page to another slug in its tag path, with its history. Requires the Bearer token from the login tool, sent as an HTTP Authorization: Bearer <token> header on the POST carrying this call.
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": {
"daoId": "<daoId>",
"slug": "<slug>",
"title": "<title>"
},
"name": "save_wiki_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | The body as one HTML string, e.g. <h2>…</h2><p>…</p>, saved as a standard content block. Pass this or `blocks`. | |
| slug | Yes | page slug | |
| daoId | Yes | cashtag of the DAO whose wiki to edit | |
| title | Yes | page title | |
| blocks | No | content blocks – [{ id: uuid, type: "content", text: "<h2>…</h2><p>…</p>" }]. Validated by the editor's own validator. Pass this or `html`. | |
| newSlug | No | optional – moves an existing page to this slug in the same tag path, with its history | |
| summary | No | optional edit summary for the page's history | |
| tagPath | No | page tag path (may be empty) | |
| baseVersion | No | the version the page's get_page read returned; a page changed since is refused with 409 (omit for a new page) |