get_file_data
Retrieve and manage Figma file data efficiently using chunking and pagination. Filter by node types, control response size, and optimize memory usage for large-scale Figma projects.
Instructions
Get Figma file data with chunking and pagination
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cursor | No | Pagination cursor for continuing from a previous request | |
depth | No | Maximum depth to traverse in the node tree | |
excludeProps | No | Properties to exclude from node data | |
file_key | Yes | Figma file key | |
maxMemoryMB | No | Maximum memory usage in MB | |
maxResponseSize | No | Maximum response size in MB (defaults to 50) | |
nodeTypes | No | Filter nodes by type | |
pageSize | No | Number of nodes per page | |
summarizeNodes | No | Return only essential node properties to reduce response size |
Input Schema (JSON Schema)
{
"properties": {
"cursor": {
"description": "Pagination cursor for continuing from a previous request",
"type": "string"
},
"depth": {
"description": "Maximum depth to traverse in the node tree",
"minimum": 1,
"type": "number"
},
"excludeProps": {
"description": "Properties to exclude from node data",
"items": {
"type": "string"
},
"type": "array"
},
"file_key": {
"description": "Figma file key",
"type": "string"
},
"maxMemoryMB": {
"description": "Maximum memory usage in MB",
"maximum": 2048,
"minimum": 128,
"type": "number"
},
"maxResponseSize": {
"description": "Maximum response size in MB (defaults to 50)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"nodeTypes": {
"description": "Filter nodes by type",
"items": {
"enum": [
"FRAME",
"GROUP",
"VECTOR",
"BOOLEAN_OPERATION",
"STAR",
"LINE",
"TEXT",
"COMPONENT",
"INSTANCE"
],
"type": "string"
},
"type": "array"
},
"pageSize": {
"description": "Number of nodes per page",
"maximum": 1000,
"minimum": 1,
"type": "number"
},
"summarizeNodes": {
"description": "Return only essential node properties to reduce response size",
"type": "boolean"
}
},
"required": [
"file_key"
],
"type": "object"
}