studio_add_elements
Add text, rectangles, ellipses or SVG paths to a frame of a Design Studio file. Positions are px from the frame's top-left. Text wraps inside its width; use align center with x 0 and the frame's width to center it. Changes are saved to the cloud file; an editor tab that already has the file open must be reloaded to see them (and would overwrite them if it saves first). Requires auth (write).
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": {
"document_id": "<document_id>",
"frame_id": "<frame_id>",
"elements": "<elements>"
},
"name": "studio_add_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elements | Yes | ||
| frame_id | Yes | Frame id from studio_get_document / studio_create_document | |
| document_id | Yes | Studio document UUID |