find_subject_by_model_name
Find which SDM subject (repository group, always prefixed with 'dataModel.') a data model belongs to, given only the model name. Use this when you have an entity type from an incoming NGSI-LD payload but don't know its subject — for example, if a payload contains 'type: WeatherObserved' and you need to resolve its subject before calling get_data_model or validate_data. Example: find_subject_by_model_name({"model_name": "WeatherObserved"})
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": {
"model_name": "<model_name>"
},
"name": "find_subject_by_model_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_name | Yes | The entity type or data model name to look up — e.g., 'WeatherObserved', 'OffStreetParking' |