figma_get_current_context
Detect the Figma file currently open in the Figma desktop app and retrieve its fileKey, nodeId, and instructions for further actions.
Instructions
LOCAL TOOL — Call this FIRST before any other Figma tool when the user has not explicitly provided a Figma URL or fileKey. Do what: Detects which Figma file the user currently has open in Figma desktop app, returning fileKey, nodeId, and instructions. Expected output: JSON with { authentication, figma_desktop_open_file: { fileKey, fileName, nodeId, url }, instructions[] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||