get_related_models
Find Smart Data Models that are semantically related to a given model. Useful for discovering adjacent models when building multi-entity systems — e.g., related models for 'OffStreetParking' might surface 'ParkingSpot' and 'ParkingGroup'. Example: get_related_models({"model_name": "OffStreetParking", "relationship_type": "all"})
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": "get_related_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_name | Yes | The data model name to find related models for — e.g., 'OffStreetParking' | |
| relationship_type | No | Filter by relationship type: 'all' returns everything, 'parent'/'child' for hierarchical relations, 'references' for cross-model references. | all |