Edit Rapier
editApply unique exact-text changes atomically and return an undoable act, rereading on conflict, with fenced blocks as their guide says and painting only in an open editor with operation_id.
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": {
"document": "<document>",
"revision": "<revision>"
},
"name": "edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| agent | No | Display only, grants no authority. | |
| label | No | ||
| fields | No | Note fields, without changes. | |
| changes | No | ||
| turn_id | No | Groups acts for undo. | |
| document | Yes | ||
| filename | No | ||
| revision | Yes | From the latest read or open, sha256 for a Note. | |
| operation_id | No |