get_page_structure
Retrieve the complete layer hierarchy of a Figma page, including types and names, to analyze or traverse the structure with configurable depth.
Instructions
Get the full page layer tree with types, names, and hierarchy.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_page_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Max depth to traverse (default: 3) | |
| pageId | No | Page ID (uses current page if omitted) |