suggest_refactoring
Analyze your codebase to identify refactoring opportunities. Get prioritized AI suggestions focused on performance, maintainability, or readability to improve code quality.
Instructions
Provide AI-powered refactoring recommendations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory or file path to analyze | |
| focusArea | No | Focus area for refactoring suggestions | all |
| maxResults | No | Maximum number of suggestions to return | |
| minPriority | No | Minimum priority level for suggestions (filters out lower priority items) | low |
| excludeTypes | No | Types of refactoring suggestions to exclude (e.g., ["LONG_FUNCTION", "COMPLEX_CONDITION"]) |