auto_fix_layout
Diagnose and repair diagram layout defects such as overlaps, text clipping, containment, spacing, and connector routing, with rollback safety and optional dry-run checks.
Instructions
Diagnose, plan, and automatically repair layout defects (overlaps, text clipping, containment, routing, spacing) with rollback safety.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| dry_run | No | ||
| min_gap | No | ||
| repair_scope | No | all | |
| aggressiveness | No | balanced |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| dry_run | Yes | ||
| revision | Yes | ||
| warnings | Yes | ||
| rolled_back | Yes | ||
| final_issues | Yes | ||
| initial_issues | Yes | ||
| applied_changes | Yes | ||
| planned_changes | Yes | ||
| skipped_repairs | Yes | ||
| unresolved_issues | Yes | ||
| fixed_issues_count | Yes | ||
| changed_element_ids | Yes |