figma_get_file
Retrieve a Figma file's structure and metadata—pages, frames, and component count—to inspect design files.
Instructions
Get a Figma file's structure and metadata - pages, frames, and component count.
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": {
"file_key": "<file_key>"
},
"name": "figma_get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How deep to traverse the node tree (default: full) | |
| file_key | Yes | Alphanumeric file ID from the Figma URL | |
| personal_access_token | No |