create_overlay
Turn a selected frame into a modal overlay for Figma prototypes. Configure its position, background dim, and click-outside behavior to control the interaction.
Instructions
Set up a frame as a modal/overlay in prototype mode.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"nodeId": "<nodeId>"
},
"name": "create_overlay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Overlay frame | |
| position | No | Overlay position (default: CENTER) | |
| backgroundDim | No | Background dim opacity 0-1 (default: 0.5) | |
| closeOnClickOutside | No | Close when clicking outside (default: true) |