@@ -33,7 +33,7 @@ class Tool(BaseTool):
3333 "occurrence" : {"type" : "integer" , "default" : 1 },
3434 "change_id" : {"type" : "string" },
3535 "dry_run" : {"type" : "boolean" , "default" : False },
36- "position" : {"type" : "string" , "enum" : ["top" , "bottom" ]},
36+ "position" : {"type" : "string" , "enum" : ["top" , "bottom" , "" ]},
3737 "auto_indent" : {"type" : "boolean" , "default" : True },
3838 "use_regex" : {"type" : "boolean" , "default" : False },
3939 },
@@ -69,7 +69,7 @@ def execute(
6969 occurrence: Which occurrence of the pattern to use (1-based, or -1 for last)
7070 change_id: Optional ID for tracking changes
7171 dry_run: If True, only simulate the change
72- position: Special position like "start_of_file " or "end_of_file"
72+ position: Special position like "top " or "bottom" (mutually exclusive with before_pattern and after_pattern)
7373 auto_indent: If True, automatically adjust indentation of inserted content
7474 use_regex: If True, treat patterns as regular expressions
7575 """
0 commit comments