bridge_to_codebase
Scan Figma components and a local codebase to map component names to implementation files using exact, case-insensitive, and partial filename matching.
Instructions
Scans Figma components and a local codebase, then maps component names to likely implementation files using exact, case-insensitive, and partial filename matching.
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": {
"file_key": "<file_key>",
"access_token": "<access_token>",
"project_path": "<project_path>"
},
"name": "bridge_to_codebase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_key | Yes | The Figma file key (from the file URL) | |
| access_token | Yes | Your Figma personal access token | |
| project_path | Yes | Local project path to scan for matching component files | |
| file_extensions | No |