get_task_instances
Retrieve task instances for a specific DAG run by providing dag_id and run_id, returning task state, duration, and operator details.
Instructions
Get individual task instances for a specific DAG run.
Args:
dag_id: The DAG identifier.
run_id: The DAG run identifier.
Returns the list of tasks with their state, duration, and operator.
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>",
"run_id": "<run_id>"
},
"name": "get_task_instances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | ||
| run_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |