apply_reasoned_fix
Apply a documented find/replace edit to a parked design and re-run it to fix diagnosed solver failures. Edits are logged and refused if they remove output requests.
Instructions
Apply a reasoned deck edit to a parked design and re-run it.
Edits are literal find/replace so the change is reviewable and lands in the fix log. Edits that remove output requests, or that delete most of the deck, are refused: a run is judged on its output, so deleting the output is not a fix.
Args: sweep: The sweep name. design_id: The parked design to repair. edits_json: JSON list of {"find": ..., "replace": ...} applied in order. rationale: Why this edit should fix the diagnosed failure. Recorded. max_iters: Deterministic fix iterations allowed on the re-run. cpus: CPUs for the solver.
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": {
"sweep": "<sweep>",
"design_id": "<design_id>",
"edits_json": "<edits_json>",
"rationale": "<rationale>"
},
"name": "apply_reasoned_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpus | No | ||
| sweep | Yes | ||
| design_id | Yes | ||
| max_iters | No | ||
| rationale | Yes | ||
| edits_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |