figma_get_code_connect
Get Code Connect hints for Figma components and instances: documentation links, component key, name, and description. Specify node IDs or enable scanning of the current page.
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 |
|---|---|---|---|
| figmaUrl | No | Figma file URL for routing. | |
| fileKey | No | Target a specific connected file. | |
| nodeIds | No | Explicit node IDs to inspect. | |
| scanCurrentPage | No | Scan COMPONENT/COMPONENT_SET/INSTANCE on current page. | |
| maxNodes | No | Cap for current-page scan (default 40, max 120). |