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.
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": {
"design": "<design>",
"revision": "<revision>",
"plan_id": "<plan_id>",
"finding_ids": "<finding_ids>"
},
"name": "repair_vehicle"
}
}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 |