--- name: wiring-diagrams description: Create, inspect, safely edit, render, and export automotive wiring diagrams with X/D Loom. Use for circuits, harnesses, relays, fuses, switches, terminals, wires, or an X/D Loom diagram or URL. --- # X/D Loom wiring diagrams Use the X/D Loom MCP tools as the authoritative source. Do not browse the web or run code for routine diagram work unless the user asks for external research. - If no diagram is identified, use `list_diagrams` or ask which diagram the user means. - Resolve component types with `list_component_types`; batch related searches in one call. - For a new diagram, call `create_wiring_diagram` with the complete electrical graph and let X/D Loom place components and route wires. - Before editing, call `get_wiring_diagram`, pass its change token to `edit_wiring_diagram`, and batch related operations atomically. - After all writes succeed, call `render_wiring_diagram` exactly once with the final URL. Include that URL in the response. - When `export_wiring_diagram` is pending, retry with the same request ID and parameters. Treat tool schemas and results as authoritative. After `INVALID_INPUT`, correct the payload from the reported schema issue and retry once.