list_task_instances_all
List Airflow task instances with filters for DAG, task, run, state, pool, date, and duration to monitor or troubleshoot workflow execution.
Instructions
[Tool Role]: Lists task instances with comprehensive filtering options.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_task_instances_all"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool | No | Optional list of Airflow pool names to filter task instances. Default: None. | |
| limit | No | Maximum number of records to request per page. Default: 100. | |
| state | No | Optional list of task states, such as ["failed", "running"]. Default: None. | |
| dag_id | No | Exact DAG identifier, as returned by list_dags; not its display name. Default: None. | |
| offset | No | Number of records to skip for pagination. Default: 0. | |
| task_id | No | Exact task identifier within the selected DAG. Default: None. | |
| dag_run_id | No | Exact DAG run identifier for the selected DAG. Default: None. | |
| duration_gte | No | Optional minimum task duration in seconds. Default: None. | |
| duration_lte | No | Optional maximum task duration in seconds. Default: None. | |
| end_date_gte | No | Optional inclusive task end time lower bound, in ISO 8601 format. Default: None. | |
| end_date_lte | No | Optional inclusive task end time upper bound, in ISO 8601 format. Default: None. | |
| start_date_gte | No | Optional inclusive task start time lower bound, in ISO 8601 format. Default: None. | |
| start_date_lte | No | Optional inclusive task start time upper bound, in ISO 8601 format. Default: None. | |
| execution_date_gte | No | Optional inclusive execution date (v1) or logical date (v2) lower bound, in ISO 8601 format. Default: None. | |
| execution_date_lte | No | Optional inclusive execution date (v1) or logical date (v2) upper bound, in ISO 8601 format. Default: None. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||