migrate_v1_to_v2
Analyze Pydantic v1 code to identify migration issues for v2 and optionally apply fixes.
Instructions
Analyze a snippet or model source for common Pydantic v1-to-v2 migration issues.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| target | No | ||
| apply_fixes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | ||
| artifacts | No | ||
| diagnostics | No | ||
| resolved_target | No |