figma_navigate
Switch the active Figma file target among connected Desktop Bridge plugins over local WebSocket; confirm the current file, route subsequent calls, and guide users when no matching plugin is open.
Instructions
Switch the active Figma file target among files that already have the Desktop Bridge plugin running. Local mode is WebSocket-only — this tool does NOT launch a browser or open files. If the requested URL is already the active file, it confirms the connection. If another connected plugin matches the URL, it switches the active target so subsequent tool calls hit that file. If no connected plugin matches, returns guidance for the user to open the Desktop Bridge plugin in the target file. Use figma_list_open_files to see all connected files.
Pass lock: true to PIN this file as the target — new connections, reconnects, and the user's own selection/page changes in other files will no longer move the target. Use this for parallel work (agent edits one file while the user works in another) so commands can't silently route to the wrong file. Switching to another file (or lock: false) releases the pin; it also releases automatically if the pinned file disconnects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Figma URL to navigate to (e.g., https://www.figma.com/design/abc123) | |
| lock | No | Pin this file as the active target so connections, reconnects, and user interaction in other files won't move it. Defaults to false. |