get_code_connect_map
Map components in a Figma node subtree to code targets using a local components.json file specifying file URL, node ID, or file key.
Instructions
Read figmingo.components.json (local component→code mapping) and return the code targets for components found in the requested node subtree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Full figma.com URL (design/file/proto). node-id query param is honored. | |
| nodeId | No | Node id, "1:2" or "1-2" form. Overrides node-id in url. | |
| fileKey | No | Figma file key (from the file URL). Provide either fileKey or url. | |
| mapPath | No | Path to figmingo.components.json (default: ./figmingo.components.json). |