Find Figma nodes
find_nodesSearch an entire Figma file or a single page for nodes by name substring and/or type, returning matching node IDs with their pages.
Instructions
Search the whole file (or one page) for nodes by name substring and/or node type, returning matching node IDs with their pages.
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 |
|---|---|---|---|
| query | No | Case-insensitive substring to match node names. | |
| types | No | Node types to match (AND with query), e.g. ["FRAME", "INSTANCE", "TEXT"]. | |
| pageId | No | Optional page ID to limit the search to one page (see get_document). | |
| fileKey | No | Optional key of the Figma file to target. Omit to use the most recently active file; see get_plugin_status. | |
| maxResults | No |