figma_get_code_connect_map
Retrieve the local Code Connect mapping for a Figma node or its main component from shared plugin data, so you can inspect node-to-code mappings without cloud sync.
Instructions
Local Code Connect mapping stored on a node (and on its main component for instances). Stored in this file's shared plugin data; not synced with Figma's cloud Code Connect.
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_get_code_connect_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | ||
| fileKey | No | Which connected Figma file to use: its fileKey (figma_whoami) or, when omitted, the only connected file. Required once more than one file is connected; figma_ping lists them. |