refactor_with
Refactor code using a chosen AI agent, optionally specifying a goal of performance, readability, or modularity.
Instructions
Refactor code using a specific agent. Optionally specify a goal: performance, readability, or modularity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Code to refactor | |
| goal | No | Refactoring goal | |
| agent | Yes | Agent to refactor with | |
| timeout | No | Timeout in ms |