Update knowledge document
update_knowledgeUpdate engineering knowledge documents by targeting a specific Markdown heading. Append or replace section content, or create a new section if the heading doesn't exist.
Instructions
Deterministically update an existing knowledge document by targeting a specific Markdown heading. This tool does NOT interpret natural-language change requests — the caller must decide what content to write and whether to append to the section or replace it. If the heading doesn't exist, a new section is appended at the end of the document.
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": {
"topicOrPath": "<topicOrPath>",
"heading": "<heading>",
"content": "<content>"
},
"name": "update_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'append' adds content to the end of the section; 'replace' overwrites the section body | append |
| content | Yes | Markdown content to write into the section | |
| heading | Yes | Exact heading text to target, e.g. 'Local development' | |
| topicOrPath | Yes | Topic name or relative path identifying the document |