figma_get_file_data
Get file structure and document tree from the open Figma file. No REST API or token. Use fileKey or figmaUrl to target a specific file when multiple plugins are connected. Defaults to depth=1, verbosity='summary'. Cached 60s per session.
Instructions
Get file structure and document tree from the open Figma file. No REST API or token. Use fileKey or figmaUrl to target a specific file when multiple plugins are connected. Defaults to depth=1, verbosity='summary'. Cached 60s per session.
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": "figma_get_file_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debug | No | Bypass cache and include _responseGuard fields. | |
| depth | No | ||
| fileKey | No | Target a specific connected file. Use figma_list_connected_files to see available files. | |
| figmaUrl | No | Figma or FigJam file URL; fileKey is extracted from the link for routing. | |
| verbosity | No | summary | |
| outputHint | No | ||
| includeLayout | No | ||
| includeVisual | No | ||
| includeCodeReady | No | ||
| includeTypography | No |