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
docs: update descriptions in delete_text_file_contents and insert_text_file_contents handlers to clarify the requirement for file_hash from get_text_file_contents
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
+1-1Lines changed: 1 addition & 1 deletion
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."
0 commit comments