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
description="Get file structure with Tree-sitter semantic analysis for large files. Use this as your FIRST STEP when working with any file over 1000 lines or when you need to understand file structure before targeted operations. CRITICAL: You must use an absolute file path - relative paths will fail. DO NOT attempt to read large files directly as they exceed context limits and waste tokens on irrelevant content. This tool provides the roadmap for systematic file exploration and suggests optimal search patterns for the specific file type.",
27
+
description="Analyze file structure and generate semantic outline. Use before working with large files to understand organization and find optimal search patterns. Returns file stats, hierarchical outline, and suggested search terms. Requires absolute file paths only.",
description="Find patterns in large files with fuzzy matching and semantic context. Use this when you need to locate specific functions, classes, patterns, or text within files that are too large for direct reading. CRITICAL: You must use an absolute file path - relative paths will fail. DO NOT attempt to grep or search large files directly - use this tool for efficient pattern location with context. Essential for finding all instances of functions, variables, TODO comments, error patterns, or any text within large codebases. Use fuzzy matching to handle formatting variations and typos.",
42
+
description="Search for text patterns in large files with fuzzy matching. Use when locating functions, classes, variables, or specific text within files. Returns ranked results with context and similarity scores. Requires absolute file paths only.",
description="Read targeted content from large files using semantic chunking instead of arbitrary line ranges. Use this when you need to examine specific functions, classes, or code sections after locating them with search_content. CRITICAL: You must use an absolute file path - relative paths will fail. DO NOT attempt to read large files directly - use this tool to get manageable, semantically complete chunks. Essential for understanding code context, examining function implementations, or reading specific sections without loading entire files. Use semantic mode to get complete functions/classes instead of cut-off arbitrary ranges.",
76
+
description="Read specific content from large files using semantic chunking. Use after locating content with search to examine complete functions, classes, or code sections. Returns semantically complete blocks rather than arbitrary line ranges. Requires absolute file paths only.",
description="PRIMARY EDITING METHOD for large files using search/replace blocks instead of error-prone line-based editing. Use this for ALL file modifications when working with large files - never attempt manual line-based edits. CRITICAL: You must use an absolute file path - relative paths will fail. ALWAYS use preview=True first to verify changes before applying. This tool eliminates LLM line number confusion and handles whitespace variations with fuzzy matching. Essential for refactoring, renaming, bug fixes, and any code modifications. Creates automatic backups before all changes for safety.",
101
+
description="Modify large files using search and replace operations with fuzzy matching. Use with caution as it modifies file content. Returns diff preview showing changes and creates automatic backups. Requires absolute file paths only.",
96
102
inputSchema={
97
103
"type": "object",
98
104
"properties": {
99
105
"absolute_file_path": {
100
106
"type": "string",
101
-
"description": "Absolute path to the file",
107
+
"description": "Absolute path to target file",
102
108
},
103
109
"search_text": {
104
110
"type": "string",
105
-
"description": "Text to find and replace",
111
+
"description": "Exact text to find and replace",
106
112
},
107
113
"replace_text": {
108
114
"type": "string",
109
-
"description": "Replacement text",
115
+
"description": "New text content",
110
116
},
111
117
"fuzzy": {
112
118
"type": "boolean",
113
-
"description": "Enable fuzzy matching",
119
+
"description": "Enable similarity-based text matching",
114
120
"default": True,
115
121
},
116
122
"preview": {
117
123
"type": "boolean",
118
-
"description": "Show preview without making changes",
124
+
"description": "Show changes without applying them",
0 commit comments