figma_set_port
Change the WebSocket bridge port at runtime when the default port is busy, restarting the bridge on a new port (5454–5470). The Figma plugin must reconnect after the change.
Instructions
Change the WebSocket bridge port at runtime. Stops the current bridge and restarts on the new port. Use when the default port is busy (e.g. another AI tool holds it). After calling this, the Figma plugin must reconnect to the new port. Valid range: 5454–5470.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | New WebSocket bridge port (5454–5470) |