figma_read
Read Figma canvas elements and design data. Choose from operations like get selection, nodes, styles, variables, components, or run a layout audit to verify rendered bounds.
Instructions
Read the Figma canvas with a token-frugal response. Choose an operation and pass its params. layout_audit is the structured verify tool (declared vs rendered bounds, overflow, clipping, truncation). read_selection deep-reads the current selection in one call — the entry point of the selection-first edit-in-place lifecycle (read_selection → figma_write modify → layout_audit).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | The read operation to run. | |
| params | No | Operation parameters (e.g. { nodeId }, { nodeIds }, { detail: 'sparse'|'compact'|'full' }, read_selection: { detail?, depth? }). |