validate
Validate converted Prefect flow against original Airflow DAG. Returns both sources, syntax check, and comparison guidance for structural review.
Instructions
Validate a converted Prefect flow against the original Airflow DAG.
Returns both source files for comparison plus a syntax check on the generated code. You perform the structural comparison.
Args: original_dag: Path or inline content of the original DAG. converted_flow: Path or inline content of the generated flow.
Returns: JSON with original_source, converted_source, syntax_valid, syntax_errors, and comparison_guidance.
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": {
"original_dag": "<original_dag>",
"converted_flow": "<converted_flow>"
},
"name": "validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| original_dag | Yes | ||
| converted_flow | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |