refactor_workflow
Starts a structured code refactoring workflow to improve internal quality while preserving external behavior. Specify the task, optional target files, scope, and constraints for a disciplined process.
Instructions
Start a structured refactoring workflow to improve existing code without changing functionality
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": {
"task": "<task>"
},
"name": "refactor_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Description of what you want to refactor | |
| context | No | Additional context (optional) |