create_submodel_element
Create a Submodel element at the root or nested path within a Submodel. Specify the element data and optional idShortPath to place it.
Instructions
Creates a Submodel element.
If id_short_path is given, creates the element at that nested path.
Otherwise, creates the element at the root level.
Corresponds to: POST /submodels/{submodel_id}/submodel-elements POST /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>",
"element": "<element>"
},
"name": "create_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 Submodel element to create. | |
| submodel_id | Yes | The unique identifier of the Submodel. | |
| id_short_path | No | The idShort path for the new Submodel element. |