Get Figma document overview
get_documentLists all pages with node counts plus local variables, collections, and styles in the open Figma file, so you can map design structure and resources before reading specific nodes.
Instructions
List all pages with node counts and the local resource counts (variables, collections, styles) of the open Figma file.
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_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileKey | No | Optional key of the Figma file to target. Omit to use the most recently active file; see get_plugin_status. |