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
Copy file name to clipboardExpand all lines: src/mcp_text_editor/handlers/delete_text_file_contents.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ class DeleteTextFileContentsHandler(BaseHandler):
17
17
"""Handler for deleting content from a text file."""
18
18
19
19
name="delete_text_file_contents"
20
-
description="Delete specified content ranges from a text file. The file must exist. File paths must be absolute."
20
+
description="Delete specified content ranges from a text file. The file must exist. File paths must be absolute. You need to provide the file_hash comes from get_text_file_contents."
Copy file name to clipboardExpand all lines: src/mcp_text_editor/handlers/insert_text_file_contents.py
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ class InsertTextFileContentsHandler(BaseHandler):
17
17
"""Handler for inserting content before or after a specific line in a text file."""
18
18
19
19
name="insert_text_file_contents"
20
-
description="Insert content before or after a specific line in a text file. Uses hash-based validation for concurrency control."
20
+
description="Insert content before or after a specific line in a text file. Uses hash-based validation for concurrency control. You need to provide the file_hash comes from get_text_file_contents."
"reason": "Content range hash mismatch - Please use get_text_file_contents tool with the same start and end to get current content and hashes, then retry with the updated hashes.",
0 commit comments