Get metadata (Figma compatible)
get_metadataRetrieve the layer hierarchy from a FigCraft document or page as {id, name, type, children}; omit nodeId to inspect the current page.
Instructions
The layer hierarchy in the Figma MCP shape: {id, name, type, children}. Without nodeId the current page is returned.
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 | ||
| nodeId | No |