knowledge_write
Create or overwrite Markdown files in the knowledge base using expected-hash conflict checks to avoid overwriting content changed since your last read.
Instructions
Создать или перезаписать .md в базе. Если передать expected_hash из knowledge_read и файл изменился — вернётся conflict и записи не будет. expected_hash="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": "knowledge_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| expected_hash | No |