Prepare Strategy Run
prepare_strategy_runFreeze backtest inputs into a signed run plan that requires local approval. Specify dataset, draft, and optional parameter grid to generate a command for authorized execution.
Instructions
Freeze exact run inputs and return a signed plan requiring local approval.
The response includes the printed local approval command. A separate
execution approval is mandatory before start_strategy_run. For
run_profile_id=parameter_sweep, param_grid maps StrategySpec parameter
names to value lists (at most 64 combinations); one approval covers
the whole grid.
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": {
"draft_id": "<draft_id>",
"validation_token": "<validation_token>",
"dataset_id": "<dataset_id>"
},
"name": "prepare_strategy_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | ||
| dataset_id | Yes | ||
| param_grid | No | ||
| runtime_id | No | default | |
| run_profile_id | No | fixed_tests | |
| idempotency_key | No | ||
| timeout_seconds | No | ||
| validation_token | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||