get_metadata
Read Figma layer metadata as a bounded tree, starting with page discovery or a specific node. Use summary profiles for exploration and follow truncation continuations to page large trees safely.
Instructions
Read a bounded layer tree; prefer summary for discovery. Without nodeId, returns pages and current page. Offset/limit page direct children and require nodeId with depth >= 1. Follow truncation continuations. Only reads without profile, budget or paging options reconcile an uncertain write.
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_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| limit | No | ||
| nodeId | No | Figma node ID, e.g. 12:34. Omit to use the editor selection where supported. | |
| offset | No | ||
| profile | No | Use summary for discovery; full preserves detailed fields (default). | |
| maxBytes | No | Budget for returned JSON metadata; screenshots have separate limits. | |
| maxNodes | No |