find_nodes_by_name
Search within a parent node for Figma layers matching a name pattern, including wildcard matches, and filter results by node type.
Instructions
Find nodes by name pattern within a parent 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": {
"nodeId": "<nodeId>",
"pattern": "<pattern>"
},
"name": "find_nodes_by_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Optional: filter by node type (e.g., 'TEXT', 'FRAME', 'COMPONENT') | |
| nodeId | Yes | The ID of the parent node to search within | |
| pattern | Yes | Name pattern to search for (supports * wildcard) |