Search nodes by name or type
figma_search_nodesSearch Figma nodes by name substring, text content, node type, or component instances across a page, selection, or subtree; get paginated results.
Instructions
Find nodes by name substring, by what their text says (text: a TEXT node's characters, a sticky's, shape's or connector's label, a code block, a table cell — a cell hit names its cell), and/or Figma node type, or every instance of a component (componentId; for a variant set, every variant's instances, each hit naming the variant it shows). scope picks where to look: the current page (default), the current selection, or a specific subtree; the result's scope says which root was searched. Paginated with limit + cursor. Every text in a subtree: figma_scan_text_nodes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Content substring (case-insensitive). query/type then optional. | |
| type | No | Figma node type, e.g. FRAME, TEXT, COMPONENT, INSTANCE, RECTANGLE. | |
| limit | No | Max results. Default 50. | |
| query | No | Name substring (case-insensitive). | |
| scope | No | Where to search. Default "page". | |
| cursor | No | Opaque cursor from a previous truncated call. | |
| nodeId | No | Subtree root when scope is "subtree": node id or a Figma link. | |
| session | No | Optional sessionId or file name, to pick a Figma file when more than one is connected. | |
| exactName | No | Match the name exactly instead of as a substring. Default false. | |
| componentId | No | A COMPONENT or COMPONENT_SET id (or link): find its instances. query/type then optional. |