ds_list_task_instances
Lists task instances for an Apache DolphinScheduler process instance, with optional state filtering and full task detail 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)
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": {
"project_name": "<project_name>",
"process_instance_id": "<process_instance_id>"
},
"name": "ds_list_task_instances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | ||
| include_full | No | ||
| project_name | Yes | ||
| process_instance_id | Yes |