Edit knowledge document
edit_knowledge_documentChange a note's or a text file's text in its knowledge base: its name and folder stay, and it is indexed again. text is its whole new text; was_sha256, the fingerprint of the text it was made from (it writes only over that).
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": {
"doc_id": "<doc_id>",
"text": "<text>"
},
"name": "edit_knowledge_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| doc_id | Yes | The document's id. | |
| was_sha256 | No |