update_knowledge_doc
Update an existing knowledge/documentation entry by id. Pass only the fields to change (type, title, content, tags, and/or adrStatus/supersededBy/repoUrl). Mirrors delete_knowledge_doc: the id comes from list_knowledge_docs.
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": {
"id": "<id>"
},
"name": "update_knowledge_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| tags | No | ||
| type | No | ||
| title | No | ||
| content | No | ||
| repoUrl | No | Only meaningful for type "adr" — see create_knowledge_doc's own description. Which specific repo this decision is about ("owner/repo" or a full github.com URL); omit/clear to mark it as applying to every repo in the project. | |
| adrStatus | No | Only meaningful for type "adr". Move to "accepted" once a proposed decision is actually decided, or to "superseded" when a newer ADR replaces this one (also set supersededBy). | |
| supersededBy | No | Only meaningful when setting adrStatus to "superseded" — the id (from list_knowledge_docs) of the ADR that replaces this one. |