refactor_advice
Provides refactoring advice for React or Kubernetes code snippets and descriptions to improve code quality and maintainability.
Instructions
Get refactoring advice for a specific technology and query.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"technology": "<technology>",
"query": "<query>"
},
"name": "refactor_advice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| technology | Yes | The technology to provide advice for. Supported: React, Kubernetes | |
| query | Yes | Code snippet or description to refactor |