List Components
component_listList components in a Figma document, filtering by local or remote origin and scoping to current page or entire file.
Instructions
List components in the document, with filtering and scope options.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Filter components by origin: 'local' (created in this file) or 'remote' (library components). If omitted, returns all. | |
| scope | No | Scope of the search: 'current_page' (default) or 'document' (entire file, streams progress page-by-page). | current_page |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Total count of components | |
| components | Yes | List of component objects |