quick_replace
Find and replace text in files using literal string matching. Replace all occurrences or just the first instance without regular expressions.
Instructions
Simple find and replace across a file without regex
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": {
"file": "<file>",
"find": "<find>",
"replace": "<replace>"
},
"name": "quick_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File to edit | |
| find | Yes | Text to find (literal, not regex) | |
| replace | Yes | Text to replace with | |
| all | No | Replace all occurrences (false = first only) |