get_submodel
Fetch a specific submodel by its ID from an AAS server. Get submodel data via the BaSyx REST API.
Instructions
Retrieves a specific Submodel by its ID.
Corresponds to: GET /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>"
},
"name": "get_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_id | Yes | The unique identifier of the submodel. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||