mcp__gemini__refactor_suggestions
Receive AI-driven refactoring suggestions to improve code readability, performance, and structure. Input code and specify language and goals for tailored recommendations.
Instructions
Get AI-powered refactoring suggestions
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| code | Yes | Code to refactor | |
| goals | No | Refactoring goals | readability,performance | 
| language | No | Programming language | javascript | 
Input Schema (JSON Schema)
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "code": {
      "description": "Code to refactor",
      "type": "string"
    },
    "goals": {
      "default": "readability,performance",
      "description": "Refactoring goals",
      "type": "string"
    },
    "language": {
      "default": "javascript",
      "description": "Programming language",
      "type": "string"
    }
  },
  "required": [
    "code"
  ],
  "type": "object"
}