Narya Sync
narya_syncSyncs a session's file after edits by retracting from the first change and replaying up to a given line, preserving unchanged commands.
Instructions
Re-read the session's file after edits: retract the commands from the first changed one on (Narya undo)
and replay the file up to and including the command containing line (default: the whole file). Unchanged
commands, including all imports, are kept. Also moves the session backwards when line is earlier.
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": {
"session_id": "<session_id>"
},
"name": "narya_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | ||
| timeout | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||