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
+3-3
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ class DeleteTextFileContentsHandler(BaseHandler):
18
18
"""Handler for deleting content from a text file."""
19
19
20
20
name="delete_text_file_contents"
21
-
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."# noqa: E501
21
+
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."
"description": "Hash of the file contents for concurrency control. it should be matched with the file_hash when get_text_file_contents is called.",# noqa: E501
37
+
"description": "Hash of the file contents for concurrency control. it should be matched with the file_hash when get_text_file_contents is called.",
"description": "Hash of the content being deleted. it should be matched with the range_hash when get_text_file_contents is called with the same range.",# noqa: E501
55
+
"description": "Hash of the content being deleted. it should be matched with the range_hash when get_text_file_contents is called with the same range.",
Copy file name to clipboardexpand all lines: src/mcp_text_editor/handlers/insert_text_file_contents.py
+2-2
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. You need to provide the file_hash comes from get_text_file_contents."# noqa: E501
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."
"description": "Hash of the file contents for concurrency control. it should be matched with the file_hash when get_text_file_contents is called.",# noqa: E501
36
+
"description": "Hash of the file contents for concurrency control. it should be matched with the file_hash when get_text_file_contents is called.",
0 commit comments