get_document_summary
Retrieve a tree-format text summary of a Figma document's node types, names, and dimensions, with pagination for large files.
Instructions
Get a text summary of the document structure showing node types, names, and dimensions in a tree format. Supports pagination to handle large documents.
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>"
},
"name": "get_document_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Number of nodes to skip for pagination (default: 0) | |
| filePath | Yes | Path to the .fig file | |
| maxNodes | No | Maximum number of nodes to return (default: 100) |