wiki_write
Create or overwrite a whole wiki page (content incl. YAML frontmatter); atomic, updates _index.md and _log.md. scope="shared" obeys the namespace policy. To edit, wiki_read the page first.
Instructions
Create or overwrite a whole wiki page (content incl. YAML frontmatter); atomic, updates _index.md and _log.md. scope="shared" obeys the namespace policy. To edit, wiki_read the page first.
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": {
"page_path": "<page_path>",
"content": "<content>"
},
"name": "wiki_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | "agent" (your own wiki, the default) or "shared" (the cross-agent knowledge base). Shared writes honour the namespace SoT policy — check wiki_namespace_status first. | |
| content | Yes | Full page content including YAML frontmatter | |
| agent_id | No | Agent name (default: main agent) | |
| page_path | Yes | Page path relative to wiki/ (e.g. 'concepts/return-policy.md') | |
| update_index | No | Add the page to _index.md (default true). Ignored when scope="shared". |