write_document
Create or update a Markdown knowledge document in a shared brain, with automatic git commit and access/secret protection.
Instructions
Write a knowledge document (git commit; ACL/secret guard).
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>",
"content": "<content>",
"commit_message": "<commit_message>"
},
"name": "write_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| commit_message | Yes | ||
| expected_git_commit | No |