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.
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_code_connect_map"
}
}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). |