generate_migration_report
Document Airflow-to-Prefect conversion decisions in MIGRATION.md and generate a before-production checklist with Prefect doc links.
Instructions
Write MIGRATION.md — human-readable record of a DAG conversion.
Call as the final step after generate_deployment. Documents every conversion decision, produces a before-production checklist with Prefect doc links, and suggests adding the Prefect MCP server.
Args: output_directory: Directory to write MIGRATION.md into. dag_path: Path to the original Airflow DAG file. flow_path: Path to the generated Prefect flow file. decisions: List of dicts, each with: component, outcome, rationale (optional), manual_action (optional). manual_actions: Top-level action types not tied to a specific component (e.g. "setup_work_pool", "migrate_connections").
Returns: JSON with created_file, checklist_items_count.
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": {
"output_directory": "<output_directory>",
"dag_path": "<dag_path>",
"flow_path": "<flow_path>",
"decisions": "<decisions>"
},
"name": "generate_migration_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_path | Yes | ||
| decisions | Yes | ||
| flow_path | Yes | ||
| manual_actions | No | ||
| output_directory | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |