figma_document
Reads Figma pages, selected nodes, current document ID, and a bounded node tree to provide context before writing or editing layers.
Instructions
Read pages, selected nodes, current documentId, and a bounded node tree. Call before writes.
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": "figma_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| nodeId | No | ||
| pageId | No | Page ID to select before running. |