generate_v2_migration
Analyzes a v1 codebase and generates v2-compatible code. Preview changes with dry run before writing files.
Instructions
Generate v2 code from a v1 project.
This tool analyzes a v1 codebase and generates v2-compatible code.
Use dry_run=True to preview changes without writing files.
Args:
project_path: Path to the v1 project directory
output_path: Path where v2 code should be generated
dry_run: If True, don't write files (default: True)
Returns:
Dictionary containing:
- files: List of files to create/modify
- breaking_changes: List of breaking changes
- warnings: List of warnings
- manual_steps: List of manual steps required
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| output_path | Yes | ||
| project_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||