Find nodes by name or type
find_nodesSearch Figma files by layer name and type to return matching nodes with bounding boxes and parent IDs, for precise frame location without fetching the entire file.
Instructions
Utility (not a REST endpoint): fetch a file tree then return only { id, name, type, absoluteBoundingBox, parentId } matches. Requires name and/or type. Prefer this over dumping get_file to locate a frame.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Optional starting node ids (uses GET .../nodes). | |
| file | Yes | Figma file key or URL (figma.com/design/... or figma.com/file/...) | |
| name | No | Layer name to match. | |
| type | No | Node type(s): FRAME, TEXT, COMPONENT, INSTANCE, GROUP, … | |
| depth | No | Tree depth to fetch. Default 8. | |
| limit | No | Max matches. Default 50. | |
| name_match | No | Default substring (case-insensitive). |