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
description:"Make targeted edits to a file by replacing exact string matches. Preferred over write_file for modifying existing files — safer and more efficient since only the changed portion is specified.".to_string(),
205
+
input_schema:json!({
206
+
"type":"object",
207
+
"properties":{
208
+
"path":{
209
+
"type":"string",
210
+
"description":"The relative path to the file (e.g., 'src/main.rs')"
211
+
},
212
+
"old_string":{
213
+
"type":"string",
214
+
"description":"The exact text to find and replace. Must match the file content exactly, including whitespace and indentation."
215
+
},
216
+
"new_string":{
217
+
"type":"string",
218
+
"description":"The replacement text. Use an empty string to delete the matched text."
219
+
},
220
+
"replace_all":{
221
+
"type":"boolean",
222
+
"description":"If true, replace all occurrences. Default: false (replace first match only)."
0 commit comments