get_local_component_links
Reads local DSH component-to-code links for a Figma node, returning plugin data rather than published Code Connect mappings. Use it to resolve which code component a layer maps to.
Instructions
Read local DSH component-to-code links. These are plugin data, not published Code Connect mappings.
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": {
"nodeId": "<nodeId>"
},
"name": "get_local_component_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Figma node ID, e.g. 12:34. Omit to use the editor selection where supported. |