Replace note
replace_noteReplace a whole note. Only with the expected_version you read – if the note changed meanwhile (e.g. the user typed), this fails and you must read it again. Prefer append_to_note or update_section.
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>",
"expected_version": "<expected_version>",
"change_summary": "<change_summary>"
},
"name": "replace_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| change_summary | Yes | One short line for the user's history, e.g. „Protokoll vom Kundentermin ergänzt“. | |
| expected_version | Yes |