repair_vehicle
Apply selected repair findings from a vehicle repair plan to a draft, previewing changes first or committing them as one undo step. Reject stale plans and conflicting fixes.
Instructions
Apply chosen fixes from plan_vehicle_repairs to a draft; previews by default, with overlays and a before/after preflight. commit=true applies the batch as one undo step; rerun preflight_vehicle afterwards. Stale revisions or plans and conflicting repairs are rejected. Manual findings need a design choice and are never applied here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit | No | false (default) previews without changing the draft; true applies it as one undo step. | |
| design | Yes | Stored draft name (from import_vehicle, create_land_vehicle, store_design or save_hull; see list_designs). | |
| plan_id | Yes | plan_id returned by plan_vehicle_repairs. | |
| revision | Yes | Revision returned by plan_vehicle_repairs. | |
| finding_ids | Yes | Ids of findings with repair_status=available to apply together. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | ||
| before | Yes | ||
| revision | Yes | ||
| committed | Yes | ||
| base_revision | Yes | ||
| resolved_finding_ids | Yes | ||
| remaining_finding_ids | Yes |