Find nodes
find_nodesSearch Figma layers by name, type, or text content to locate nodes and retrieve their IDs, names, parents, bounds, and text for TEXT layers.
Instructions
Search layers by name, type and/or text content. Returns id, name, type, parent, bounds (and text for TEXT nodes).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Case-insensitive substring of the layer name | |
| text | No | Case-insensitive substring of TEXT content | |
| limit | No | ||
| types | No | e.g. ["FRAME","TEXT","INSTANCE","COMPONENT","COMPONENT_SET"] | |
| rootId | No | Search inside this node or page id; "all" = every page (slow on big files). Default: current page | |
| nameRegex | No | JavaScript regular expression for the layer name (case-insensitive) |