Update element
update_elementChange one of a space's own @elements: its name, description or media. media_ids replaces the whole set, so pass the ones to keep (from list_elements) with the new ones; one it already holds keeps the trim set in the app. Change an inherited element in the space it comes from.
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>",
"element_id": "<element_id>"
},
"name": "update_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 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 | No | 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. | |
| element_id | Yes | An element_id from list_elements. | |
| description | No | Who or what it is, in a line a prompt can lean on. |