agy_refactor
Refactor a target file according to your instructions and receive the exact code changes directly, with no conversational filler.
Instructions
Refactor target file according to instructions. Returns code changes without conversational fluff.
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": {
"filePath": "<filePath>",
"instructions": "<instructions>"
},
"name": "agy_refactor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| filePath | Yes | Path to the file to refactor | |
| instructions | Yes | Refactoring rules and targets |