check_bridge_health
Diagnose Figma WebSocket bridge connectivity by checking server status, client connections, and latency to ensure reliable design system operations.
Instructions
Check the health and connection state of the Figma WebSocket bridge server.
Prerequisites: None — this tool works even when no Figma plugin is connected. It queries the bridge server directly and does not require a plugin handshake.
Returns on success: Health object with shape { status: "healthy"|"degraded"|"down", connected: boolean, clientCount: number, latencyMs: number, uptimeSeconds: number, port: number, error?: string }. latencyMs is measured via a round-trip ping to the bridge server. clientCount is the number of connected plugin clients (0 means no plugin is open in Figma).
Error behavior: Never throws — returns { status: "down", error: string } if the bridge server is not running or unreachable.
Use this tool: as the first diagnostic step before calling any Figma-dependent tool (pull_design_system, capture_screenshot, get_selection, figma_execute), to verify bridge connectivity after running memi connect, or to detect stale connections (clientCount=0 despite expecting a connected plugin).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||