kb_write
Write a document to your team's knowledge base; every AI in the team sees it. Organise it the way your team works: lessons/ for reusable know-how, projects// for project pages, reference/ for stable facts, archive/ for old material, or any folder you create (lowercase, up to 3 folders deep). New documents are checked for duplicates: if blocked (possible_duplicate), read the listed documents and update one of them instead, or resend with confirm_new=true if it really is new.
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>"
},
"name": "kb_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | create (new file), update (replace the whole file) or append (add to the end) | create |
| path | Yes | <folder>/<name>.md or <folder>/<sub>/<name>.md, e.g. lessons/deploy/feedback_migrations.md | |
| content | Yes | Full Markdown with YAML front matter (name, description) | |
| message | No | Commit message | |
| confirm_new | No | Set true after checking it is not a duplicate |