simulate_chain
Apply edits step-by-step to find the safest point to stop where no errors are introduced. Returns diagnostics per step to guide partial application of multi-step changes.
Instructions
Apply a sequence of edits and evaluate after each step. Returns per-step diagnostics and identifies the safe-to-apply-through step (last step with net delta == 0). Use this to find the safest partial application of a multi-step change. All line/column positions in each edit are 1-indexed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| edits | Yes | ||
| timeout_ms | No |