Apply Strategy Changes
apply_strategy_changesApply an approved change set to a Backtrader strategy after verifying local approval and hash integrity, replacing the strategy directory with the exact change.
Instructions
Apply only an exact change with a trusted local CLI approval record.
Destructive: replaces the entire managed target strategy directory after
rechecking every preimage hash.
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": {
"change_set_id": "<change_set_id>",
"change_token": "<change_token>",
"approval_id": "<approval_id>",
"idempotency_key": "<idempotency_key>"
},
"name": "apply_strategy_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approval_id | Yes | ||
| change_token | Yes | ||
| change_set_id | Yes | ||
| idempotency_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||