figma_get_file
Retrieve a Figma file's complete structure and metadata by providing its file key. Get pages, frames, and components in one response.
Instructions
Fetch a Figma file structure and metadata. Returns the full file tree including all pages, frames, and components.
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": {
"fileKey": "<fileKey>"
},
"name": "figma_get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileKey | Yes | The Figma file key (from the URL: figma.com/file/FILE_KEY/...) |