complex_find_replace
Perform context-aware advanced find and replace operations in files using regular expressions, enabling precise and efficient text modifications.
Instructions
Perform advanced find and replace operations with context awareness
Input Schema
Name | Required | Description | Default |
---|---|---|---|
options | No | Additional options for the find and replace operation | |
path | Yes | Path to the file to perform find and replace on | |
pattern | Yes | Regular expression pattern to search for | |
replacement | Yes | Replacement text |
Input Schema (JSON Schema)
{
"properties": {
"options": {
"description": "Additional options for the find and replace operation",
"type": "object"
},
"path": {
"description": "Path to the file to perform find and replace on",
"type": "string"
},
"pattern": {
"description": "Regular expression pattern to search for",
"type": "string"
},
"replacement": {
"description": "Replacement text",
"type": "string"
}
},
"required": [
"path",
"pattern",
"replacement"
],
"type": "object"
}