patch-note
Update an existing Inkdrop note body with one or more exact string replacements, enabling partial edits without overwriting the full content; read the note first to get current text.
Instructions
Update the body of the existing note by performing one or more exact string replacements. Use this tool to make partial updates to the note body without replacing the entire content. You must first read the note with read-note to get the current body, then specify the exact substrings to replace. Edits are applied in order, each against the result of the previous one, and the note is only saved if all of them succeed.
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>",
"_rev": "<_rev>",
"edits": "<edits>"
},
"name": "patch-note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _id | Yes | The unique document ID which should start with `note:` and the remains are randomly generated string | |
| _rev | Yes | This is a CouchDB specific field. The current MVCC-token/revision of this document (mandatory and immutable). | |
| edits | Yes | The replacements to perform, applied in order. |