Create element
create_elementMake an @element in a space from images, a video or a voice you sent there, so every image and video made in the space and its sub-spaces keeps that character, product or place the same when a prompt names @name. Send each file with upload_file and space_id first. The answer has the element_id.
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": {
"space_id": "<space_id>",
"name": "<name>",
"media_ids": "<media_ids>"
},
"name": "create_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | What a prompt calls it after @: letters, digits and _, with a letter, up to 30. | |
| space_id | Yes | A space id from list_spaces. | |
| media_ids | Yes | media_id values from upload_file's answers with space_id, or from list_elements: up to 4 images (the first is the face) or one video instead, plus one voice or sound. A video runs at least 3 s and audio at least 5 s; a model uses the first seconds it takes of a longer one. | |
| description | No | Who or what it is, in a line a prompt can lean on. |