ds_list_task_instances
List task instances for a DolphinScheduler process instance, filter by state, and optionally include full task details for troubleshooting.
Instructions
List task instances for a process instance (filter by state, optionally include full details).
v2.0.18: Added include_full parameter for detailed troubleshooting.
Args: project_name: Project name process_instance_id: Process instance ID state: State filter (FAILURE / SUCCESS / RUNNING_EXECUTION, empty = no filter) include_full: When True, returns full taskParams/SQL/script for each task (useful for detailed analysis but consumes more tokens)
Returns: List of task instances with: - Basic info: id, name, taskType, state, startTime, endTime, retryTimes - If include_full=True: also includes taskParams (SQL/script/dependency config)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | ||
| include_full | No | ||
| project_name | Yes | ||
| process_instance_id | Yes |