inspect
Retrieve specific properties from Figma design nodes by selecting facet buckets like layout, paint, or variables. Returns only requested data for efficient inspection.
Instructions
Read design node(s) — choose what to surface with facets.
Default (no facets) returns a skeleton: id, name, type, role, children. For anything else, list the facets you need — nothing else is included.
Facets: structure name, type, size, layout shorthand — cheap overview layout layoutMode/gap/padding/align/sizing (row/column, fill/hug, etc.) paint|fill fills + Paint.boundVariables.color (see bound tokens) stroke strokes, strokeWeight, strokeAlign, dashPattern effects shadows, blurs typography|text fontFamily, fontSize, fontWeight, lineHeight, letterSpacing appearance opacity, visible, blendMode, cornerRadius, clipsContent variables node-level boundVariables + explicitVariableModes (token bindings) all everything
Parameters: node "/" for page root, or node ID from jsx/inspect results (e.g. "100:5"). facets array of facet names listed above. depth Max tree depth (default: 5, max: 10).
Examples: inspect({node: "/"}) → page skeleton inspect({node: "100:5"}) → one-node skeleton inspect({node: "100:5", facets: ["variables"]}) → token bindings only inspect({node: "100:5", facets: ["layout", "paint"]}) → layout + fills inspect({node: "100:5", facets: ["all"]}) → full properties
Use get_screenshot for visual verification. Use describe for lint/validation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | "/" for page root, or node ID (e.g. "100:5"). | |
| facets | No | Property buckets to surface. Omit for a skeleton-only response. | |
| depth | No | Max depth (default: 5, max: 10) |