figma_match_components
Match Figma components to codebase components via fuzzy name matching, producing confidence scores for review.
Instructions
Match Figma components to codebase components using fuzzy name matching. Requires plugin connection for Figma scanning, and a codebase path for code scanning. Returns a mapping with confidence scores. Review before publishing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"codebasePath": "<codebasePath>"
},
"name": "figma_match_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileKey | No | Figma file key. Optional if plugin is connected (scans current page). | |
| frameworks | No | ||
| codebasePath | Yes | Path to codebase root directory. Supports ~. | |
| minConfidence | No | Minimum match confidence to include (0-1). Default: 0.5 |