Skip to content

Commit f941065

Browse files
committed
docs(server.py): add descriptions for line_start and line_end parameters to clarify their usage in EditTextFileContentsHandler
1 parent 7886936 commit f941065

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mcp_text_editor/server.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,12 @@ def get_tool_description(self) -> Tool:
132132
"line_start": {
133133
"type": "integer",
134134
"default": 1,
135+
"description": "Starting line number (1-based). it should be matched with the start line number when get_text_file_contents is called.",
135136
},
136137
"line_end": {
137138
"type": ["integer", "null"],
138139
"default": None,
140+
"description": "Ending line number (null for end of file). it should be matched with the end line number when get_text_file_contents is called.",
139141
},
140142
"contents": {"type": "string"},
141143
"range_hash": {

0 commit comments

Comments
 (0)