getDocumentStructure
Obtain the complete page and node hierarchy from a Sketch file, with options to limit depth, include specific fields, or group similar nodes for concise representation.
Instructions
Get complete document structure with all pages and their hierarchies
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeDetails | No | Whether to include detailed node information | |
| maxNodesPerPage | No | Maximum number of nodes to return per page | |
| fields | No | Specific fields to include in response (e.g., ["id", "name", "type"]) | |
| excludeFields | No | Fields to exclude from response (e.g., ["style", "position"]) | |
| summaryMode | No | Return summary with statistics instead of full structure | |
| maxDepth | No | Maximum depth of hierarchy to return | |
| groupSimilar | No | Group similar nodes to reduce data size |