get_import_errors
Diagnose missing DAGs by retrieving scheduler-recorded import errors, showing the failing file and stack trace to pinpoint parse failures.
Instructions
List DAG import errors (parse failures) recorded by the scheduler.
The primary debugging tool when a DAG you just wrote isn't showing up: a file that raises at import time is recorded here with its filename and full traceback.
Args: limit: Max errors to return (default 100). offset: Pagination offset.
Returns:
ImportErrorList with import_errors (filename, stack_trace, timestamp,
import_error_id) and total_entries.
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": "get_import_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| import_errors | Yes | ||
| total_entries | No |