get_section_frames
Retrieve a hierarchical tree of sections and frames inside a section node, with nested sections as children. Use it to understand structure and scope work like splitting PRs by section.
Instructions
Get a hierarchical tree of sections and frames within a section node. Nested sections are returned as children, making it easy to understand the structure for scoping work (e.g. splitting PRs by section).
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>",
"sectionNodeId": "<sectionNodeId>"
},
"name": "get_section_frames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Max nesting depth to traverse (default: 10) | |
| fileKey | Yes | Figma file key | |
| sectionNodeId | Yes | Section node ID |