get_document
Lists all pages and top-level nodes of the current or specified Figma file, so you can inspect document structure before reading, building, or editing designs.
Instructions
List pages and the top-level nodes of the current (or given) page.
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 |
|---|---|---|---|
| file | No | Target file (fileKey, id or name). Defaults to the most recently active file. | |
| pageId | No |