精確編輯
fs_editPerforms precise text replacements in existing files, requiring prior read and exact matches; supports replace-all and context expansion for unique matches.
Instructions
對既有檔案做精確替換。須先 fs_read;old 必須唯一(多處命中需 replace_all 或更多上下文)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| edits | Yes | ||
| force | No | 跳過 STALE_READ 守衛(慎用) |