parse_fig_file
Parse a .fig file to retrieve its design hierarchy, layout, and styling in a simplified document structure, enabling offline access to Figma specs.
Instructions
Parse a .fig file and return its document structure. Returns a simplified representation suitable for understanding the design hierarchy, layout, and styling.
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": {
"filePath": "<filePath>"
},
"name": "parse_fig_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the .fig file | |
| maxDepth | No | Maximum depth to traverse (default: 10) |