Import model
ugt_import_modelUpload a self-contained GLB/glTF model and draft a building, park, square or lake (kind) with its actual projected mesh footprint placed at center and rotation. A CityGML or CityJSON file with one building, or an IFC building model (Revit, ArchiCAD and other BIM exports; kind building), is converted to the same GLB the site makes and stands where its file puts it, so it needs no center; a supplied center more than 1 km from the location in the file wins (IFC site locations are often a design-tool template default). IFC keeps walls, slabs, roofs and windows, and leaves out site objects outside them and, when over the limits, whole kinds of detail (asset.leftOut). A space keeps the model in structureProposal modelUrl/modelName/rotation/source. kind furniture only checks the asset against the furniture limits (triangles, texture size, bytes) and uploads it, returning asset {modelUrl, name} and no design; center and rotation are not used. Assign it with ugt_edit_design at /structureProposal/decorationDesign/models/ = {url, name}. The model asset is durable and public; confirmAssetUpload=true requires user authorization. Any design stays private.
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": {
"confirmAssetUpload": "<confirmAssetUpload>"
},
"name": "ugt_import_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| city | No | Required unless kind is furniture. | |
| kind | No | building | |
| title | No | ||
| center | No | Required for a glTF model unless kind is furniture; a CityGML, CityJSON or georeferenced IFC building brings its own. | |
| fileName | No | ||
| rotation | No | ||
| modelData | No | ||
| parcelSourceId | No | ||
| confirmAssetUpload | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | No | ||
| url | No | ||
| code | No | ||
| next | No | ||
| asset | Yes | ||
| field | No | ||
| items | No | ||
| stage | No | ||
| total | No | ||
| issues | No | ||
| offset | No | ||
| status | No | ||
| values | No | ||
| indexed | No | ||
| message | No | ||
| draftRef | No | ||
| warnings | No | ||
| retryable | No | ||
| truncated | No | ||
| untrusted | No | ||
| currentCid | No | ||
| previewUrl | No | ||
| retryAfter | No | ||
| approvalUrl | No | ||
| constraints | No | ||
| expectedCid | No | ||
| previousCid | No | ||
| publication | No | ||
| previewStatus | No | ||
| publishedCids | No | ||
| parcelSourceId | No | ||
| previewExpiresAt | No |