Search layers and text
fig_findFind nodes in a Figma file by name or text content, filtering by node type or subtree, with results showing page and breadcrumb for quick access.
Instructions
Search a file for nodes by name and by text content (case-insensitive substring), optionally restricted to node types and/or a subtree. Each hit comes back with the page it lives on, a breadcrumb of ancestor names, and which field matched — so you can jump straight to a guid and then call fig_node / fig_style. Omit query to list every node of the given types.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the .fig / .figma file (absolute, or relative to the server CWD). | |
| limit | No | Default 50. | |
| query | No | Case-insensitive substring matched against layer names AND text content. | |
| scope | No | Only search inside this guid subtree. | |
| types | No | Restrict to node types, e.g. ["TEXT"]. | |
| cursor | No | Opaque nextCursor from a previous truncated response; resumes where it stopped. |