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.
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". |