fast_edit_blocks
Perform multiple precise text block replacements in a file in one operation. Each edit matches exact existing text, with optional expected replacement count and backup creation.
Instructions
Processes multiple precise block edits at once (array of fast_edit_block)
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": {
"path": "<path>",
"edits": "<edits>"
},
"name": "fast_edit_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the file to edit | |
| edits | Yes | List of precise block edits | |
| backup | No | Create a backup |