figma_discover_library_styles
List text, color, and effect styles from the current Figma file with an optional name filter, returning style IDs and keys for use in style preloading and text creation.
Instructions
List local and imported text styles, color styles, and effect styles in the current file. Returns style IDs and keys usable with preload_styles and textStyleId in create_text. Note: Figma Plugin API cannot enumerate library styles directly — for full library style discovery, use search_design_system from the Figma MCP. Optional nameFilter narrows results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nameFilter | No | Optional substring to filter style names (case-insensitive). |