Build a replay workflow for one node
execution_replayBuild a self-contained replay workflow that exercises a single node from a larger workflow. The replay workflow is Manual Trigger -> Replay Seed (Code node with pinned items) -> target node. Optional inputItems or an execution payload pins what the target sees. Useful for iterating on one stubborn node without re-running the whole pipeline. Returns workflow JSON ready to import or push via workflow_create.
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": {
"workflow": "<workflow>",
"node": "<node>"
},
"name": "execution_replay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Name of the node to replay. | |
| workflow | Yes | Original workflow JSON. | |
| execution | No | Optional execution payload — pulls real input the target saw last time. | |
| inputItems | No | Optional explicit input items (each becomes `{ json: ... }`). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow | Yes | Full n8n workflow JSON (name, nodes, connections, settings, ...). | |
| item_count | Yes | Number of input items the replay seed will feed the target. | |
| target_node | Yes | Name of the node being replayed. |