Check a design for defects
figma_check_layoutAudit Figma frames for layout problems: overflowing or overlapping text, clipping, zero-size nodes, low contrast, and use of placeholder copy. Returns numbered findings with fixes.
Instructions
After each section and before calling anything done: a designer's last look, in numbers (figma_export_node shows the picture). Per node, with a number and fix: text overflowing, collapsed, overlapping or painted over; content clipped or sticking out; a fill child in a hug parent; stacked frames; placeholder copy ("Lorem ipsum", "Acme"); low contrast (WCAG); zero-size nodes, empty frames, default names; on a slide, content off it, bleeds, cut text. audit adds passes: tokens (raw values, with the variable to bind), names (duplicate components, variants), fonts (expectFonts flags others), board (FigJam rules), craft (finish: near-equal sizes, unshared edges, near-touches, lines through text, old-style figures, shape contrast, faint hairlines, a sunk block; safeArea, minTextSize), tells (the generated look, info only), handoff (share bound to variables or styles, detached instances). ok: true = no errors or warnings. Default: the selection, then the page (Slides: focused slide). Reads only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audit | No | QA passes to add: tokens, names, fonts, board, craft (finish defects), tells (the generated look; info only), handoff (how much is bound to the system). | |
| limit | No | Max findings returned. Default 100. | |
| nodeId | No | The frame or section to check. Defaults to every selected node, then the page. | |
| nodeIds | No | Several roots in one call, e.g. a batch of 3–5 slides. Not with nodeId. | |
| session | No | Optional sessionId or file name, to pick a Figma file when more than one is connected. | |
| maxNodes | No | Stop after this many nodes. Default 3000. | |
| safeArea | No | "x,y,width,height" in the root's coordinates (its top-left is 0,0), from the brief — no presets. Text, logos and CTAs outside it are flagged. Implies craft. | |
| expectFonts | No | Font families the design should use, e.g. ["Inter"]; implies the fonts audit. | |
| minSeverity | No | Hide findings below this level. Default "info". | |
| minTextSize | No | Smallest readable text in px of the frame: the device's floor × frame width ÷ device width, e.g. 28 or more on a 1080-wide story. Implies craft. |