workflow_execution_get_steps
Get steps of a specific workflow execution to diagnose failures or missing progress.
Use this when a run fails, stays PENDING/RUNNING without progress, or workflow_run_wait returns an unchanged status. Inspect steps before waiting again or assuming a queue problem. Read failed-step errors in stepOutput, repeated attempts for the same node, and timing gaps. PENDING can include retries with backoff even after earlier steps completed. Zero steps alone does not prove worker slots are exhausted. Diagnose the existing execution; do not start a duplicate run to investigate it.
Returns detailed step information including:
Step name and node ID
Status and timing (startedAt, completedAt)
Input data (processData)
Output data (stepOutput)
Token usage
Ordinal position in the execution
Only main workflow steps are returned at the top level. Each main step includes its child tool, verification, write, and recovery substeps in chronological order.
Pagination (optional):
limit: Maximum number of steps to return. When omitted, all steps are returned.
offset: Number of steps to skip (default: 0). Only used when limit is provided.
When pagination is used, the response includes totalSteps (total count of all main steps) to help with subsequent page requests.
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": {
"executionId": "<executionId>"
},
"name": "workflow_execution_get_steps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of steps to return. When omitted, all steps are returned. | |
| offset | No | Number of steps to skip (default: 0). Only used when limit is provided. | |
| executionId | Yes | The execution ID to get steps for | |
| substepLimit | No | Maximum child details per main step (default: 100, max: 500) | |
| substepOffset | No | Child details to skip for each main step (default: 0) |