update_submodel_element
Replace or create a Submodel element in an AAS server via full replacement.
Instructions
Updates or creates a Submodel element by full replacement.
Corresponds to: PUT /submodels/{submodel_id}/submodel-elements/{idShortPath}
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": {
"submodel_id": "<submodel_id>",
"id_short_path": "<id_short_path>",
"element": "<element>"
},
"name": "update_submodel_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Base URL of the AAS server. Defaults to configured host. | http://localhost:8081 |
| encode | No | Whether to Base64-encode the Submodel ID. Defaults to True. | |
| element | Yes | A dictionary representing the new element content. | |
| submodel_id | Yes | The unique identifier of the Submodel. | |
| id_short_path | Yes | The idShort path of the Submodel element. |