figma_map_components
Maps Figma nodes to codebase components using signature matching and manual hints, so you can identify which existing components correspond to selected design elements.
Instructions
Map Figma nodes to codebase components using signature matching and hints
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_map_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hints | No | Manual component hints | |
| nodeId | No | Root node ID to map | |
| figmaUrl | No | Figma design URL (e.g., 'https://www.figma.com/design/ABC123/File-Name?node-id=1817:2817'). Extracts file key and node ID automatically. Once set, persists for the session. | |
| registry | No | Component registry to use | default |