semantic_model_get_bim
Export a semantic model's full definition as TMSL/BIM JSON to a specified file path, returning the path for downstream use.
Instructions
Get the full definition of a semantic model in TMSL/BIM JSON format (long-running). Writes the decoded model.bim to the specified output file path and returns the path.
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": {
"workspaceId": "<workspaceId>",
"semanticModelId": "<semanticModelId>",
"outputFilePath": "<outputFilePath>"
},
"name": "semantic_model_get_bim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes | The workspace ID | |
| outputFilePath | Yes | File path where the model.bim JSON will be written | |
| semanticModelId | Yes | The semantic model ID |