mcp-figma

get_file

Get a Figma file by key

Input Schema

NameRequiredDescriptionDefault
branch_dataNoOptional. Include branch data if true
depthNoOptional. Depth of nodes to return (1-4)
fileKeyYesThe key of the file to get
versionNoOptional. A specific version ID to get

Input Schema (JSON Schema)

{ "properties": { "branch_data": { "description": "Optional. Include branch data if true", "type": "boolean" }, "depth": { "description": "Optional. Depth of nodes to return (1-4)", "type": "number" }, "fileKey": { "description": "The key of the file to get", "type": "string" }, "version": { "description": "Optional. A specific version ID to get", "type": "string" } }, "required": [ "fileKey" ], "type": "object" }