List local components
figma_get_local_componentsList every component and component set in a Figma file, with each page, key, description, and variant details. Scope the read to one page with pageId.
Instructions
Components and component sets defined in this file: page, key and description of each; a variant carries its set's id and name, a set its variant count and variant options. Scope to one page with pageId; without it every page is loaded first, which takes a moment on a large file. figma_get_component reads one component's full property definitions. Editors: Design; unverified: FigJam, Slides.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | Only this page. Omit for the whole document. | |
| session | No | Optional sessionId or file name, to pick a Figma file when more than one is connected. |