figma_set_port
Change the WebSocket bridge port at runtime to resolve port conflicts. Stops the current bridge and restarts on a new port between 5454 and 5470.
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) |