search_nodes
Search a Figma node tree by case-insensitive name substring or exact node type. Optionally limit to a subtree using a node id.
Instructions
Search the node tree by case-insensitive name substring and/or exact node type. At least one of name or type is required. Scope to a subtree with root (a node id); defaults to the current page. Returns a flat array of matching nodes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Case-insensitive substring matched against node names | |
| root | No | Node id to scope the search; omit for the current page | |
| type | No | Exact node type to match, e.g. "TEXT", "FRAME" |