figma_get_file_for_plugin
Retrieve filtered Figma file structure and node IDs for plugin development, excluding visual properties to reduce payload and support deeper tree traversal.
Instructions
Get file data optimized for plugin development with filtered properties (IDs, structure, plugin data, component relationships). Excludes visual properties (fills, strokes, effects) to reduce payload. Use when user asks for: plugin development, file structure for manipulation, node IDs for plugin API. NOT for component descriptions (use figma_get_component). NOT for visual/styling data (use figma_get_component_for_development). Supports deeper tree traversal (max depth=5) than figma_get_file_data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How many levels of children to include (default: 2, max: 5). Higher depths are safe here due to filtering. | |
| fileUrl | No | Figma file URL (e.g., https://figma.com/design/abc123). REQUIRED unless figma_navigate was already called. | |
| nodeIds | No | Specific node IDs to retrieve (optional) |