create_element
Create UI elements for your application by specifying the element type and either a page UUID for root elements or a parent UUID for child elements.
Instructions
Create a UI element. Provide page (route UUID) for root elements, or parent (element UUID) for children.
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": {
"type": "<type>"
},
"name": "create_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Element type - must be one of the valid Stellify element types | |
| page | No | UUID of the page/route to add the element to (for root elements) | |
| parent | No | UUID of the parent element (for child elements) |