update_submodel
Update an existing Submodel by its ID with new content, enabling precise modifications to Asset Administration Shell data on the AAS server.
Instructions
Updates an existing Submodel by its ID.
Corresponds to: PUT /submodels/{submodel_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": {
"submodel_id": "<submodel_id>",
"submodel": "<submodel>"
},
"name": "update_submodel"
}
}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. | |
| submodel | Yes | A dictionary representing the updated Submodel content. | |
| submodel_id | Yes | The unique identifier of the Submodel. |