search_nodes
Search Figma node tree by case-insensitive name substring or exact type to locate matching nodes. Optionally scope to a subtree or default to the current page.
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.
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": "search_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" |