atlas_optimize
Optimize code by applying critique feedback, preserving functionality and API consistency.
Instructions
Optimize code based on critique feedback. Applies improvements while maintaining 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": {
"code": "<code>"
},
"name": "atlas_optimize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code to optimize | |
| critique | No | Critique feedback to address | |
| language | No | Programming language | |
| preserveApi | No | Whether to preserve the public API |