simulate_edit
Apply in-memory range edits to a file within a simulation session to capture diagnostics and track versions, enabling safe preview before writing to disk.
Instructions
Apply a range edit to a file within a simulation session. Changes are held in-memory only. The session captures baseline diagnostics on first edit to each file, then tracks versions for subsequent edits. Returns the new version number after the edit. All line/column positions are 1-indexed (matching editor line numbers).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_line | Yes | ||
| new_text | Yes | ||
| file_path | Yes | ||
| end_column | Yes | ||
| session_id | Yes | ||
| start_line | Yes | ||
| start_column | Yes |