Create or replace a hand-written note
brain_writeCreate or replace a hand-maintained note under Notes/ or Captures/ for hubs, guides, and runbooks, setting its type and metadata; only designated vault paths can be written.
Instructions
Create a note at a path you choose under Notes/ or Captures/, or replace one there with overwrite=true. Use it for hubs, guides and runbooks maintained by hand. Unlike brain_capture you set the type, including 'hub': a hub groups every note whose frontmatter project matches its title. Generated notes elsewhere in the vault cannot be written. The reply lists existing notes the body names without linking.
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>",
"title": "<title>",
"body": "<body>"
},
"name": "brain_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Markdown body, without frontmatter or the # title heading. Link related notes inside the sentence that says how they relate. | |
| path | Yes | Vault path, e.g. 'Notes/Harbor Ledger.md' | |
| type | No | note, hub, moc, guide, runbook, plan, decision, ... | note |
| order | No | Position among Notes/ guides on Start Here | |
| title | Yes | ||
| topics | No | Concept names, e.g. ['OAuth', 'RAG'] | |
| project | No | Hub this note belongs to, e.g. 'Harbor Ledger' | |
| summary | No | One line; Start Here shows it next to Notes/ guides | |
| overwrite | No | Replace the note if the path already exists |