Find layers
find_nodesSearch Figma layers by name or text content across a file, page, or node; filter by layer type and limit results to find specific elements.
Instructions
Search layers by name (or text content with text:true) across the file, a page, or inside a node.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "find_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Which open Figma file (name or key) when several are connected. Default: the most recently active. | |
| page | No | Page name or id; "*" or omitted = all pages. | |
| text | No | Match text content of text layers instead of layer names. | |
| limit | No | ||
| query | Yes | Case-insensitive substring. | |
| types | No | Layer types, e.g. ["FRAME","COMPONENT","INSTANCE","TEXT"]. | |
| within | No | Only search inside this node id. |