Skip to content

Commit 7886936

Browse files
committed
docs(server.py): update description for range_hash to clarify its purpose and usage in the EditTextFileContentsHandler class
1 parent 7712cc8 commit 7886936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp_text_editor/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def get_tool_description(self) -> Tool:
140140
"contents": {"type": "string"},
141141
"range_hash": {
142142
"type": "string",
143-
"description": "Hash of the content being replaced (required except for new files and append operations)",
143+
"description": "Hash of the content being replaced from line_start to line_end (required except for new files and append operations)",
144144
},
145145
},
146146
"required": ["contents"],

0 commit comments

Comments
 (0)