add_frame
Create a labeled boundary container in an Excalidraw scene and optionally assign existing elements by ID, grouping diagram content into clear sections.
Instructions
Add a frame (boundary container) to the scene.
Optionally assign existing elements to this frame using element_ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | Yes | ||
| w | Yes | ||
| x | Yes | ||
| y | Yes | ||
| name | Yes | ||
| opacity | No | ||
| fillStyle | No | ||
| roughness | No | ||
| element_ids | No | ||
| strokeColor | No | ||
| strokeStyle | No | ||
| strokeWidth | No | ||
| backgroundColor | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text_id | No | ||
| arrow_id | No | ||
| frame_id | No | ||
| label_id | No | ||
| circle_id | No | ||
| diamond_id | No | ||
| rectangle_id | No |