list-task-instances
List all task instances for a specific DAG run, including their states, start/end times, and execution details.
Instructions
List task instances for a specific DAG run.
Returns all task instances within a DAG run, including their states,
start/end times, and execution details.
Args:
ctx: The MCP context.
environment_name: Name of the MWAA environment.
dag_id: The DAG identifier.
dag_run_id: The DAG run identifier.
region: AWS region override.
profile_name: AWS CLI profile name override.
Returns:
CallToolResult with the list of task instances.
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>",
"dag_run_id": "<dag_run_id>"
},
"name": "list-task-instances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | The DAG ID. | |
| region | No | AWS region override. | |
| dag_run_id | Yes | The DAG run ID. | |
| profile_name | No | AWS CLI profile name override. | |
| environment_name | No | Name of the MWAA environment. If omitted and only one environment exists, it is used automatically. |