qwen3_code_optimize
Optimize code for performance, memory usage, or readability using Qwen3-Coder's AI model to improve code efficiency and maintainability based on specified criteria.
Instructions
Optimize code using Qwen3-Coder
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| code | Yes | The code to optimize | |
| criteria | No | Optimization criteria (performance, memory, readability, etc.) | |
| language | No | Programming language of the code | 
Input Schema (JSON Schema)
{
  "properties": {
    "code": {
      "description": "The code to optimize",
      "type": "string"
    },
    "criteria": {
      "description": "Optimization criteria (performance, memory, readability, etc.)",
      "type": "string"
    },
    "language": {
      "description": "Programming language of the code",
      "type": "string"
    }
  },
  "required": [
    "code"
  ],
  "type": "object"
}