Prepare Strategy Changes
prepare_strategy_changesGenerate an exact diff for strategy changes, returning a signed token and the approval command needed to apply the update later.
Instructions
Prepare an exact diff; this does not approve or write the target.
Returns a signed change token and the printed local approval command.
apply_strategy_changes requires the approval created by that command.
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>",
"target_root_id": "<target_root_id>",
"target_relative_dir": "<target_relative_dir>",
"expected_target_hashes": "<expected_target_hashes>",
"idempotency_key": "<idempotency_key>"
},
"name": "prepare_strategy_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | ||
| target_root_id | Yes | ||
| idempotency_key | Yes | ||
| validation_token | Yes | ||
| target_relative_dir | Yes | ||
| expected_target_hashes | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||