create_frame
Create a frame container for other shapes with customizable fills, gradients, images, borders, shadows, blur, and blend modes.
Instructions
Create a frame shape (container for other shapes) with colors, gradients, images, borders, shadows, blur, and blend modes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X position | |
| y | No | Y position | |
| r1 | No | Top-left corner radius | |
| r2 | No | Top-right corner radius | |
| r3 | No | Bottom-right corner radius | |
| r4 | No | Bottom-left corner radius | |
| name | No | Frame name | Frame |
| width | No | Width | |
| fileId | Yes | File ID | |
| height | No | Height | |
| pageId | Yes | Page ID | |
| opacity | No | Overall frame opacity (0-1) | |
| blendMode | No | Blend mode: "normal", "multiply", "screen", "overlay", etc. | normal |
| blurValue | No | Blur intensity in pixels (for glassmorphism effect) | |
| fillColor | No | Background color (HEX, e.g., "#FFFFFF") | |
| shadowBlur | No | Shadow blur radius in pixels | |
| fillImageId | No | Image media ID (from upload_file_media) | |
| fillOpacity | No | Background opacity (0-1) | |
| shadowColor | No | Shadow color (HEX, e.g., "#000000") | #000000 |
| shadowStyle | No | Shadow style: "drop-shadow" or "inner-shadow" | drop-shadow |
| strokeColor | No | Border color (HEX) | |
| strokeWidth | No | Border width in pixels | |
| borderRadius | No | All corners radius (shorthand for r1-r4) | |
| gradientEndX | No | Gradient end X (0-1 normalized) | |
| gradientEndY | No | Gradient end Y (0-1 normalized) | |
| gradientType | No | Gradient type: "linear" or "radial" | |
| shadowSpread | No | Shadow spread in pixels | |
| fillImageName | No | Image name | |
| gradientStops | No | Gradient stops as JSON array, e.g., '[{"color":"#667eea","opacity":1,"offset":0},{"color":"#764ba2","opacity":1,"offset":1}]' | |
| shadowOffsetX | No | Shadow X offset in pixels | |
| shadowOffsetY | No | Shadow Y offset in pixels | |
| shadowOpacity | No | Shadow opacity (0-1) | |
| strokeOpacity | No | Border opacity (0-1) | |
| fillImageMtype | No | Image MIME type | image/png |
| fillImageWidth | No | Image width in pixels | |
| gradientStartX | No | Gradient start X (0-1 normalized) | |
| gradientStartY | No | Gradient start Y (0-1 normalized) | |
| fillImageHeight | No | Image height in pixels | |
| fillImageKeepAspectRatio | No | Keep image aspect ratio |