migrate_v1_to_v2
Convert flytekit V1 Python code to flyte-sdk V2 syntax, returning transformed code, applied changes, and warnings for patterns needing manual review.
Instructions
Rewrite flytekit V1 Python code into flyte-sdk V2 syntax.
Returns the transformed code plus a list of applied changes and warnings about patterns that need manual review.
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": "migrate_v1_to_v2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |