quick_replace
Perform simple find and replace operations across a file using literal text, supporting bulk or single replacements without regex. Streamline file edits with precision.
Instructions
Simple find and replace across a file without regex
Input Schema
Name | Required | Description | Default |
---|---|---|---|
all | No | Replace all occurrences (false = first only) | |
file | Yes | File to edit | |
find | Yes | Text to find (literal, not regex) | |
replace | Yes | Text to replace with |
Input Schema (JSON Schema)
{
"properties": {
"all": {
"default": true,
"description": "Replace all occurrences (false = first only)",
"type": "boolean"
},
"file": {
"description": "File to edit",
"type": "string"
},
"find": {
"description": "Text to find (literal, not regex)",
"type": "string"
},
"replace": {
"description": "Text to replace with",
"type": "string"
}
},
"required": [
"file",
"find",
"replace"
],
"type": "object"
}