figma_get_code_connect
Retrieve Code Connect hints for Figma components and instances, including documentation links, names, and descriptions. Pass node IDs or scan the current page for connected components.
Instructions
Get Code Connect hints for components/instances: documentationLinks, componentKey, name, description. Pass nodeIds for specific nodes, or scanCurrentPage=true to scan the current page for COMPONENT/COMPONENT_SET/INSTANCE nodes. Note: Full Code Connect source map lives in figma.config / Figma CLI; this tool returns plugin-accessible hints only. Use Figma's official MCP get_code_connect_map for native repo paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileKey | No | Target a specific connected file. | |
| nodeIds | No | Explicit node IDs to inspect. | |
| figmaUrl | No | Figma file URL for routing. | |
| maxNodes | No | Cap for current-page scan (default 40, max 120). | |
| scanCurrentPage | No | Scan COMPONENT/COMPONENT_SET/INSTANCE on current page. |