Apply Strategy Repair
apply_strategy_repairRepair a failed strategy draft by applying exact-hash changes and invalidating outdated validation for a clean re-run.
Instructions
Apply an exact-hash repair and invalidate the old validation capability.
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_id": "<validation_id>",
"relative_path": "<relative_path>",
"content": "<content>",
"expected_revision": "<expected_revision>",
"expected_file_hash": "<expected_file_hash>",
"idempotency_key": "<idempotency_key>"
},
"name": "apply_strategy_repair"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| draft_id | Yes | ||
| relative_path | Yes | ||
| validation_id | Yes | ||
| idempotency_key | Yes | ||
| expected_revision | Yes | ||
| expected_file_hash | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||