invariance_run_fork
Fork a run from a specific node to create a new branch for what-if replays during agent debugging.
Instructions
Fork a run from a specific node — creates a new run that branches off the parent at from_node_id. Useful for "what-if" replays during agent debugging.
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": {
"id": "<id>",
"from_node_id": "<from_node_id>"
},
"name": "invariance_run_fork"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Parent run ID. | |
| name | No | ||
| metadata | No | Free-form metadata as a JSON object string. | |
| from_node_id | Yes | Node in the parent run to branch from. |