transform_code
Apply syntax and structural transformations to source code, including modernization, framework migration, and language conversion. Preserves logic, updates imports, and validates syntax for accurate results.
Instructions
🔧 Apply code transformations including syntax changes, structural reorganization, framework migration, and modernization. Combines syntax-level and structural changes.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | Source code to transform | |
language | Yes | Programming language of the code | |
options | No | ||
target_framework | No | Target framework (for framework migration) | |
target_language | No | Target language (for language conversion) | |
transformations | Yes | List of transformations to apply |