Expand description
MultiEdit tool: batch search-and-replace across multiple locations in one file.
Accepts an array of {old_string, new_string} pairs and applies them
sequentially to a single file. Each pair performs an exact match
replacement (one occurrence). The tool rejects the entire batch if
any individual edit would fail (missing match, ambiguous match, or
identity replacement), ensuring atomicity.
Shares the same staleness guard as FileEdit — if the file changed
since the model last read it, the batch is rejected until a fresh
read is performed.