add_frame
Creates a frame container to group and organize diagram elements, optionally enclosing existing elements by ID.
Instructions
Create a frame container, optionally enclosing existing elements.
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": {
"name": "<name>",
"x": "<x>",
"y": "<y>",
"w": "<w>",
"h": "<h>"
},
"name": "add_frame"
}
}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 |