Re-run with changes
rerunWhat it does: re-runs a saved strategy with changes merged into its spec (objects merge one level down, e.g. {"exit": {"stop_ticks": 50}} changes only the stop; scalars and arrays replace) as a normal backtest and saves a new run. Returns: the same shape as run_backtest. When to use: variations of an existing run, so everything else stays identical. Costs the same credits as run_backtest; an unchanged spec is a free cache hit.
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": {
"run_id": "<run_id>",
"changes": "<changes>"
},
"name": "rerun"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| changes | Yes |