Observe Neovim diff
nvim_observe_diffReturn only the changed rows, cursor, mode, and size deltas since the last observation, resetting the baseline for verifying a single action without the full screen payload.
Instructions
Return only what changed since the last observation: changed screen rows with their before/after text, plus cursor, mode and size deltas. Much smaller than a full nvim_observe for verifying a single action. Resets the baseline.
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": {
"sessionId": "<sessionId>"
},
"name": "nvim_observe_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session id returned by nvim_launch or nvim_attach. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| size | No | ||
| cursor | No | ||
| changed | Yes | ||
| sessionId | Yes | ||
| rowChanges | Yes |