repair_drawing
Fix spacing, labels, routes, containers, or canvas bounds in a drawing by previewing a bounded repair plan, then applying it with expectedRevision to clear errors that block writes.
Instructions
Preview bounded repair, then apply the returned planId with identical options and expectedRevision. Default report is compact; detail:full requests all findings/attempts. includeSource and preview are independent opt-ins. Remaining errors block writes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact drawing file stem, without the .drawfather extension. Preserve the user-requested name; this is separate from design.title. | |
| action | No | preview | |
| checks | No | ||
| detail | No | compact | |
| planId | No | ||
| preview | No | ||
| repairs | No | ||
| maxPasses | No | ||
| includeSource | No | ||
| expectedRevision | Yes |