Brain Write
brain_writeCreate or update a Brain file. Writes to your default brain unless you name one; shared brains need editor access. Replaces the whole body (use mode "append" to add to the end); the previous body is kept as a version. Credentials are refused — the Brain is memory, not a vault. Needs your agent bearer token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Markdown content. | |
| mode | No | replace (default) or append. | |
| name | Yes | File name ending in .md, e.g. customer-faq.md | |
| brain | No | Brain to write into (owner-handle/name for shared brains, needs editor access). Omit for your default brain. | |
| folder | No | Folder, e.g. Company. New files default to "Agent". |