get_page_contents
Retrieve all top-level frames and their immediate children from a specific page in a Figma .fig file for offline design extraction.
Instructions
Get the contents of a specific page, including all top-level frames and their immediate children.
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>",
"pageName": "<pageName>"
},
"name": "get_page_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the .fig file | |
| pageName | Yes | Name of the page to get contents for |