You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"modelDescription": "This tool allows you to apply multiple replace_string_in_file operations in a single call, which is more efficient than calling replace_string_in_file multiple times. It takes an array of replacement operations and applies them sequentially. Each replacement operation has the same parameters as replace_string_in_file: filePath, oldString, newString, and explanation. This tool is ideal when you need to make multiple edits across different files or multiple edits in the same file. The tool will provide a summary of successful and failed operations.",
"description": "A brief explanation of what the multi-replace operation will accomplish."
755
+
},
756
+
"replacements": {
757
+
"type": "array",
758
+
"description": "An array of replacement operations to apply sequentially.",
759
+
"items": {
760
+
"type": "object",
761
+
"properties": {
762
+
"explanation": {
763
+
"type": "string",
764
+
"description": "A brief explanation of this specific replacement operation."
765
+
},
766
+
"filePath": {
767
+
"type": "string",
768
+
"description": "An absolute path to the file to edit."
769
+
},
770
+
"oldString": {
771
+
"type": "string",
772
+
"description": "The exact literal text to replace, preferably unescaped. Include at least 3 lines of context BEFORE and AFTER the target text, matching whitespace and indentation precisely. If this string is not the exact literal text or does not match exactly, this replacement will fail."
773
+
},
774
+
"newString": {
775
+
"type": "string",
776
+
"description": "The exact literal text to replace `oldString` with, preferably unescaped. Provide the EXACT text. Ensure the resulting code is correct and idiomatic."
0 commit comments