figma_get_metadata
Retrieve a slim XML tree of Figma nodes (id, name, type, size) by file key or URL, with optional depth and node filtering.
Instructions
Slim XML tree (id, name, type, size) via GET /v1/files/:key/nodes.
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_get_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Figma file or node URL. | |
| depth | No | ||
| fileKey | No | Figma file key or full URL (figma.com/design/...). | |
| nodeIds | No | Nodes to include. If omitted, tries the URL node-id; otherwise uses the root document. |