rest_get_file_nodes
Fetch specific Figma nodes by ID via REST API without loading the entire file, using a file key and node IDs to retrieve targeted design data.
Instructions
Fetch specific nodes by ID directly from the cloud via REST API without loading the entire document
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": {
"fileKey": "<fileKey>",
"nodeIds": "<nodeIds>"
},
"name": "rest_get_file_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Depth limit for child nodes (default: 2) | |
| fileKey | Yes | Figma file key | |
| nodeIds | Yes | Array of node IDs to fetch |