backfill-dag
Backfill an Airflow DAG for a specified date range, optionally targeting a single task, to reprocess historical data.
Instructions
Backfill a DAG for a specified date range. Can optionally backfill only a specific task.
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": {
"dag_id": "<dag_id>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "backfill-dag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | ||
| task_id | No | Optional. Task ID to backfill. If not specified, backfill the entire DAG. | |
| end_date | Yes | End date in YYYY-MM-DD format, timezone is Asia/Shanghai | |
| start_date | Yes | Start date in YYYY-MM-DD format, timezone is Asia/Shanghai |